]> git.baikalelectronics.ru Git - kernel.git/commit
ieee802154: fix iface dump with lowpan
authorAlexander Aring <alex.aring@gmail.com>
Sun, 9 Nov 2014 07:36:58 +0000 (08:36 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 9 Nov 2014 18:50:29 +0000 (19:50 +0100)
commit34a222494284a60715ec528daa29c12b59fdb6e6
tree0513166fcb65ae3c2a72f80e6b61f5b446b1ce22
parent7a6570d21936ecd3ec8f6a4275d0da247013b333
ieee802154: fix iface dump with lowpan

This patch adds a hacked solution for an interface dump with a running
lowpan interface. This will crash because lowpan and wpan interface use
the same arphdr. To change the arphdr will change the UAPI, this patch
checks on mtu which should on lowpan interface always different than
IEEE802154_MTU.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/ieee802154/nl-mac.c