aboutsummaryrefslogtreecommitdiffstats
path: root/net/rose/af_rose.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/af_rose.c')
-rw-r--r--net/rose/af_rose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c
index f38c3b3471ee..806bf6f5dc6d 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1181,7 +1181,7 @@ static int rose_sendmsg(struct kiocb *iocb, struct socket *sock,
1181 1181
1182 /* Duplicate the Header */ 1182 /* Duplicate the Header */
1183 skb_push(skbn, ROSE_MIN_LEN); 1183 skb_push(skbn, ROSE_MIN_LEN);
1184 memcpy(skbn->data, header, ROSE_MIN_LEN); 1184 skb_copy_to_linear_data(skbn, header, ROSE_MIN_LEN);
1185 1185
1186 if (skb->len > 0) 1186 if (skb->len > 0)
1187 skbn->data[2] |= M_BIT; 1187 skbn->data[2] |= M_BIT;