projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_copy_from_linear_data{_offset}
[deliverable/linux.git]
/
net
/
bluetooth
/
bnep
/
core.c
diff --git
a/net/bluetooth/bnep/core.c
b/net/bluetooth/bnep/core.c
index 97156c4abc8d55fee84e56de009573f08bfce986..ab2db55982ca3e4bb51c241ef7b3e6f1869ab0a8 100644
(file)
--- a/
net/bluetooth/bnep/core.c
+++ b/
net/bluetooth/bnep/core.c
@@
-382,7
+382,7
@@
static inline int bnep_rx_frame(struct bnep_session *s, struct sk_buff *skb)
break;
}
-
memcpy(__skb_put(nskb, skb->len), skb->data
, skb->len);
+
skb_copy_from_linear_data(skb, __skb_put(nskb, skb->len)
, skb->len);
kfree_skb(skb);
s->stats.rx_packets++;
This page took
0.024774 seconds
and
5
git commands to generate.