summaryrefslogtreecommitdiff
path: root/net/6lowpan/iphc.c
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-10-13 11:42:55 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2015-10-20 22:49:24 (GMT)
commitcefdb801c80736017b5a0d97a4a9f816d5a98fc4 (patch)
treeb24038cd412000fafe0e31dcb01a0166572c641f /net/6lowpan/iphc.c
parent71cd2aa53dbf9eb8cb954fc9e65de8dab774b7f6 (diff)
downloadlinux-cefdb801c80736017b5a0d97a4a9f816d5a98fc4.tar.xz
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/iphc.c')
0 files changed, 0 insertions, 0 deletions