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 f64be9369ef7..6d8684a11ac6 100644
--- a/net/rose/af_rose.c
+++ b/net/rose/af_rose.c
@@ -1234,7 +1234,7 @@ static int rose_recvmsg(struct kiocb *iocb, struct socket *sock,
1234 *asmptr = qbit; 1234 *asmptr = qbit;
1235 } 1235 }
1236 1236
1237 skb->h.raw = skb->data; 1237 skb_reset_transport_header(skb);
1238 copied = skb->len; 1238 copied = skb->len;
1239 1239
1240 if (copied > size) { 1240 if (copied > size) {