aboutsummaryrefslogtreecommitdiff
path: root/net/6lowpan
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-10-13 13:42:55 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-10-21 00:49:24 +0200
commitcefdb801c80736017b5a0d97a4a9f816d5a98fc4 (patch)
treeb24038cd412000fafe0e31dcb01a0166572c641f /net/6lowpan
parent71cd2aa53dbf9eb8cb954fc9e65de8dab774b7f6 (diff)
downloadlinux-stericsson-cefdb801c80736017b5a0d97a4a9f816d5a98fc4.tar.gz
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>
Diffstat (limited to 'net/6lowpan')
0 files changed, 0 insertions, 0 deletions