]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: ndisc: set invalid unicast short addr to unspec
authorAlexander Aring <aar@pengutronix.de>
Wed, 6 Jul 2016 21:32:28 +0000 (23:32 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 8 Jul 2016 11:23:12 +0000 (13:23 +0200)
commita598728517015b7a12c5c221edc7084db6217a8c
treee7625467a4a6f7fe4da5e77dffd1054de1adc642
parent013ca4a9aeac71bbd72afc9a3f09491fac7110b4
6lowpan: ndisc: set invalid unicast short addr to unspec

When receiving neighbour information with short address option field we
should check the complete range of invalid short addresses and set it to
one invalid address setting which is the unspecified address. This
address is also used when by creating at first a new neighbour entry to
indicate no short address is set.

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