projects
/
powerpc.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}
[powerpc.git]
/
net
/
core
/
netpoll.c
diff --git
a/net/core/netpoll.c
b/net/core/netpoll.c
index
57a8244
..
1fb30c3
100644
(file)
--- a/
net/core/netpoll.c
+++ b/
net/core/netpoll.c
@@
-293,7
+293,7
@@
void netpoll_send_udp(struct netpoll *np, const char *msg, int len)
if (!skb)
return;
-
memcpy(skb->data
, msg, len);
+
skb_copy_to_linear_data(skb
, msg, len);
skb->len += len;
skb_push(skb, sizeof(*udph));