projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/rockchip: add a common subdrv interfaces
[firefly-linux-kernel-4.4.55.git]
/
net
/
bluetooth
/
6lowpan.c
diff --git
a/net/bluetooth/6lowpan.c
b/net/bluetooth/6lowpan.c
index 2b6132fa0fafb56adeb06ec450415d870361e4df..795ddd8b2f77567381a3405839cae239871e18ad 100644
(file)
--- a/
net/bluetooth/6lowpan.c
+++ b/
net/bluetooth/6lowpan.c
@@
-307,6
+307,9
@@
static int recv_pkt(struct sk_buff *skb, struct net_device *dev,
/* check that it's our buffer */
if (lowpan_is_ipv6(*skb_network_header(skb))) {
+ /* Pull off the 1-byte of 6lowpan header. */
+ skb_pull(skb, 1);
+
/* Copy the packet so that the IPv6 header is
* properly aligned.
*/