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
/
netrom
/
nr_out.c
diff --git
a/net/netrom/nr_out.c
b/net/netrom/nr_out.c
index
7c467c9
..
e3e6c44
100644
(file)
--- a/
net/netrom/nr_out.c
+++ b/
net/netrom/nr_out.c
@@
-59,8
+59,8
@@
void nr_output(struct sock *sk, struct sk_buff *skb)
/* Duplicate the Transport Header */
skb_push(skbn, NR_TRANSPORT_LEN);
- memcpy(skbn->data, transport, NR_TRANSPORT_LEN);
-
+ skb_copy_to_linear_data(skbn, transport,
+ NR_TRANSPORT_LEN);
if (skb->len > 0)
skbn->data[4] |= NR_MORE_FLAG;