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_to_linear_data{_offset}
[deliverable/linux.git]
/
net
/
irda
/
wrapper.c
diff --git
a/net/irda/wrapper.c
b/net/irda/wrapper.c
index 2acc66dfb5586772d0852f2f3304f035332fab77..a7a7f191f1a86c94437b464f02fdaa5097787ba0 100644
(file)
--- a/
net/irda/wrapper.c
+++ b/
net/irda/wrapper.c
@@
-239,7
+239,8
@@
async_bump(struct net_device *dev,
if(docopy) {
/* Copy data without CRC (lenght already checked) */
- memcpy(newskb->data, rx_buff->data, rx_buff->len - 2);
+ skb_copy_to_linear_data(newskb, rx_buff->data,
+ rx_buff->len - 2);
/* Deliver this skb */
dataskb = newskb;
} else {
This page took
0.034784 seconds
and
5
git commands to generate.