aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index 5ab6627cf370..8e6ae9422a7b 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -896,7 +896,7 @@ verify_sock_status:
896 else if (len < skb->len) 896 else if (len < skb->len)
897 msg->msg_flags |= MSG_TRUNC; 897 msg->msg_flags |= MSG_TRUNC;
898 898
899 if (skb_copy_datagram_iovec(skb, 0, msg->msg_iov, len)) { 899 if (skb_copy_datagram_msg(skb, 0, msg, len)) {
900 /* Exception. Bailout! */ 900 /* Exception. Bailout! */
901 len = -EFAULT; 901 len = -EFAULT;
902 break; 902 break;