ieee802154: 6lowpan: add check for reserved dispatch
authorAlexander Aring <alex.aring@gmail.com>
Wed, 2 Sep 2015 12:21:28 +0000 (14:21 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:04 +0000 (13:20 +0200)
commitc6fdbba3eadd5af695c1290c59fe917ce8d9295f
tree49af11a948d229c0eafbb56e6c66d19fd5831140
parentad663600e1a8e2db1c4343bae73836f793ff4e08
ieee802154: 6lowpan: add check for reserved dispatch

This patch adds checks for reserved dispatch value. When we have a
reserved dispatch value we should drop the skb immediately.

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>
net/ieee802154/6lowpan/rx.c