diff options
Diffstat (limited to 'net/key')
-rw-r--r-- | net/key/af_key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c index 345019345f09..3cd228aacfe8 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
@@ -3667,7 +3667,7 @@ static int pfkey_recvmsg(struct kiocb *kiocb, | |||
3667 | copied = len; | 3667 | copied = len; |
3668 | } | 3668 | } |
3669 | 3669 | ||
3670 | skb->h.raw = skb->data; | 3670 | skb_reset_transport_header(skb); |
3671 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); | 3671 | err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); |
3672 | if (err) | 3672 | if (err) |
3673 | goto out_free; | 3673 | goto out_free; |