Alexander Aring cefdb801c8 bluetooth: 6lowpan: use lowpan dispatch helpers
This patch adds a check if the dataroom of skb contains a dispatch value
by checking if skb->len != 0. This patch also change the dispatch
evaluation by the recently introduced helpers for checking the common
6LoWPAN dispatch values for IPv6 and IPHC header.

There was also a forgotten else branch which should drop the packet if
no matching dispatch is available.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2015-10-21 00:49:24 +02:00
..
2015-08-30 18:12:36 -04:00
2015-03-02 16:43:41 -05:00
2015-10-13 17:42:34 +02:00
2015-08-24 14:48:10 -07:00
2015-10-07 04:27:43 -07:00
2015-10-21 00:49:24 +02:00
2015-10-08 04:27:03 -07:00
2015-10-15 13:44:35 -07:00
2015-10-08 04:27:03 -07:00