6lowpan: ndisc: no overreact if no short address is available
authorAlexander Aring <aar@pengutronix.de>
Sun, 24 Jul 2016 14:12:25 +0000 (16:12 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 19 Sep 2016 18:19:34 +0000 (20:19 +0200)
commit5ddedce3b7331959a6da217ed3189d020090873c
treeadd63630a025f73bf4292c3ef6a24850ce574881
parentabbcc341adb16f68915cae7ef9a10e0d7b57e3c0
6lowpan: ndisc: no overreact if no short address is available

This patch removes handling to remove short address for a neigbour entry
if RS/RA/NS/NA doesn't contain a short address. If these messages
doesn't has any short address option, the existing short address from
ndisc cache will be used. The current behaviour will set that the
neigbour doesn't has a short address anymore.

Signed-off-by: Alexander Aring <aar@pengutronix.de>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/6lowpan/ndisc.c