diff options
author | Alexander Aring <alex.aring@gmail.com> | 2015-10-13 13:42:55 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-10-21 00:49:24 +0200 |
commit | cefdb801c80736017b5a0d97a4a9f816d5a98fc4 (patch) | |
tree | b24038cd412000fafe0e31dcb01a0166572c641f /include/net/6lowpan.h | |
parent | 71cd2aa53dbf9eb8cb954fc9e65de8dab774b7f6 (diff) | |
download | blackbird-obmc-linux-cefdb801c80736017b5a0d97a4a9f816d5a98fc4.tar.gz blackbird-obmc-linux-cefdb801c80736017b5a0d97a4a9f816d5a98fc4.zip |
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 'include/net/6lowpan.h')
0 files changed, 0 insertions, 0 deletions