diff options
Diffstat (limited to 'net/netlink')
-rw-r--r-- | net/netlink/af_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 350ed1c0e702..50dc5edb7752 100644 --- a/net/netlink/af_netlink.c +++ b/net/netlink/af_netlink.c | |||
@@ -1215,7 +1215,7 @@ static int netlink_recvmsg(struct kiocb *kiocb, struct socket *sock, | |||
1215 | copied = len; | 1215 | copied = len; |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | skb->h.raw = skb->data; | 1218 | skb_reset_transport_header(skb); |
1219 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); | 1219 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); |
1220 | 1220 | ||
1221 | if (msg->msg_name) { | 1221 | if (msg->msg_name) { |