diff options
author | Alexander Aring <aar@pengutronix.de> | 2016-03-16 15:52:41 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2016-04-08 20:28:13 +0300 |
commit | feb2add3235ca81dc5cd5d975490c707a24c9889 (patch) | |
tree | 403717eb115afc4ce01d1d6c0889ce3b2d683871 /drivers/net/ieee802154 | |
parent | 13407376b255325fa817798800117a839f3aa055 (diff) | |
download | linux-feb2add3235ca81dc5cd5d975490c707a24c9889.tar.xz |
6lowpan: iphc: fix handling of link-local compression
This patch fixes handling in case of link-local address compression. A
IPv6 link-local address is defined as fe80::/10 prefix which is also
what ipv6_addr_type checks for link-local addresses.
But IPHC compression for link-local addresses are for fe80::/64 types
only. This patch adds additional checks for zero padded bits in case of
link-local address compression to match on a fe80::/64 address only.
Signed-off-by: Alexander Aring <aar@pengutronix.de>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/net/ieee802154')
0 files changed, 0 insertions, 0 deletions