ieee802154: 6lowpan: check on valid 802.15.4 frame
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:29 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:04 +0000 (13:20 +0200)
commit54552d03023cfd485cedf8d7471d1554139d58aa
tree9e624523707527367ae0c385bcc6445117c6bd07
parentc6fdbba3eadd5af695c1290c59fe917ce8d9295f
ieee802154: 6lowpan: check on valid 802.15.4 frame

This patch adds frame control checks to check if the received frame is
something which could contain a 6LoWPAN packet.

Reviewed-by: Stefan Schmidt <stefan@osg.samsung.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/linux/ieee802154.h
include/net/mac802154.h
net/ieee802154/6lowpan/rx.c