]> git.baikalelectronics.ru Git - kernel.git/commit
6lowpan: lowpan_is_iid_16_bit_compressable() does not detect compressible address...
authorTony Cheneau <tony.cheneau@amnesiak.org>
Mon, 25 Mar 2013 17:59:21 +0000 (17:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Mar 2013 16:37:55 +0000 (12:37 -0400)
commit8902c6a63ff6a07177fda5d5b2e7069dadcdb3a9
tree68a9778444faf9aec2b8cc602893ce6bbd095fa8
parent992abbb051c0b866c36e23673ea6e0d219979220
6lowpan: lowpan_is_iid_16_bit_compressable() does not detect compressible address correctly

The current test is not RFC6282 compliant. The same issue has been found
and fixed in Contiki. This patch is basically a port of their fix.

Signed-off-by: Tony Cheneau <tony.cheneau@amnesiak.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ieee802154/6lowpan.h