]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: addrconf: drop ieee802154 specific things
authorAlexander Aring <alex.aring@gmail.com>
Mon, 14 Dec 2015 19:55:22 +0000 (20:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Dec 2015 21:10:34 +0000 (16:10 -0500)
commit38b311011460d523fc40707e7cfc40023fc01cd2
tree41a6f460219f03e4abf0d536e64d9ee232ee3e85
parent3bf8e231aa177eb71394c1569f4af42139ccbeac
ipv6: addrconf: drop ieee802154 specific things

This patch removes ARPHRD_IEEE802154 from addrconf handling. In the
earlier days of 802.15.4 6LoWPAN, the interface type was ARPHRD_IEEE802154
which introduced several issues, because 802.15.4 interfaces used the
same type.

Since commit b7fed97fdb05 ("ieee802154: 6lowpan: fix ARPHRD to
ARPHRD_6LOWPAN") we use ARPHRD_6LOWPAN for 6LoWPAN interfaces. This
patch will remove ARPHRD_IEEE802154 which is currently deadcode, because
ARPHRD_IEEE802154 doesn't reach the minimum 1280 MTU of IPv6.

Also we use 6LoWPAN EUI64 specific defines instead using link-layer
constanst from 802.15.4 link-layer header.

Cc: David S. Miller <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: James Morris <jmorris@namei.org>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: Patrick McHardy <kaber@trash.net>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c