aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
Diffstat (limited to 'net/unix')
-rw-r--r--net/unix/af_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index 606971645b33..aec8cf165e1a 100644
--- a/net/unix/af_unix.c
+++ b/net/unix/af_unix.c
@@ -1319,7 +1319,7 @@ static int unix_dgram_sendmsg(struct kiocb *kiocb, struct socket *sock,
1319 unix_attach_fds(siocb->scm, skb); 1319 unix_attach_fds(siocb->scm, skb);
1320 unix_get_secdata(siocb->scm, skb); 1320 unix_get_secdata(siocb->scm, skb);
1321 1321
1322 skb->h.raw = skb->data; 1322 skb_reset_transport_header(skb);
1323 err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len); 1323 err = memcpy_fromiovec(skb_put(skb,len), msg->msg_iov, len);
1324 if (err) 1324 if (err)
1325 goto out_free; 1325 goto out_free;