linux/net/ieee802154/6lowpan
Alexander Aring faf7d36e5e ieee802154: 6lowpan: add generic lowpan header check
This patch introduce an earlier check if a 6LoWPAN frame can be valid.
This contains at first for checking if the header contains a dispatch
byte and isn't the nalp dispatch value, which means it isn't a 6LoWPAN
packet. Also we add a check if we can derference the dispatch value by
checking if skb->len is unequal zero.

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>
2015-09-17 13:20:03 +02:00
..
6lowpan_i.h ieee820154: 6lowpan: dispatch evaluation rework 2015-09-17 13:20:03 +02:00
core.c ieee802154: 6lowpan: remove set to zero 2015-09-17 13:20:02 +02:00
Kconfig
Makefile ieee802154: 6lowpan: fix Makefile entry 2015-01-08 15:48:06 +01:00
reassembly.c ieee820154: 6lowpan: dispatch evaluation rework 2015-09-17 13:20:03 +02:00
rx.c ieee802154: 6lowpan: add generic lowpan header check 2015-09-17 13:20:03 +02:00
tx.c ieee802154: 6lowpan: change dev vars to wdev and ldev 2015-09-17 13:20:02 +02:00