aboutsummaryrefslogtreecommitdiffstats
path: root/net/netrom
diff options
context:
space:
mode:
Diffstat (limited to 'net/netrom')
-rw-r--r--net/netrom/nr_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netrom/nr_out.c b/net/netrom/nr_out.c
index 7c467c95c7d6..e3e6c44e1890 100644
--- 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)
59 59
60 /* Duplicate the Transport Header */ 60 /* Duplicate the Transport Header */
61 skb_push(skbn, NR_TRANSPORT_LEN); 61 skb_push(skbn, NR_TRANSPORT_LEN);
62 memcpy(skbn->data, transport, NR_TRANSPORT_LEN); 62 skb_copy_to_linear_data(skbn, transport,
63 63 NR_TRANSPORT_LEN);
64 if (skb->len > 0) 64 if (skb->len > 0)
65 skbn->data[4] |= NR_MORE_FLAG; 65 skbn->data[4] |= NR_MORE_FLAG;
66 66