aboutsummaryrefslogtreecommitdiffstats
path: root/net/key/af_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/key/af_key.c')
-rw-r--r--net/key/af_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/key/af_key.c b/net/key/af_key.c
index 1847ec4e3930..e5883091a8c6 100644
--- a/net/key/af_key.c
+++ b/net/key/af_key.c
@@ -3654,7 +3654,7 @@ static int pfkey_recvmsg(struct kiocb *kiocb,
3654 } 3654 }
3655 3655
3656 skb_reset_transport_header(skb); 3656 skb_reset_transport_header(skb);
3657 err = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); 3657 err = skb_copy_datagram_msg(skb, 0, msg, copied);
3658 if (err) 3658 if (err)
3659 goto out_free; 3659 goto out_free;
3660 3660