diff options
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r-- | net/dccp/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c index 8e6ae9422a7b..19f038739087 100644 --- a/net/dccp/proto.c +++ b/net/dccp/proto.c | |||
@@ -781,7 +781,7 @@ int dccp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, | |||
781 | goto out_release; | 781 | goto out_release; |
782 | 782 | ||
783 | skb_reserve(skb, sk->sk_prot->max_header); | 783 | skb_reserve(skb, sk->sk_prot->max_header); |
784 | rc = memcpy_fromiovec(skb_put(skb, len), msg->msg_iov, len); | 784 | rc = memcpy_from_msg(skb_put(skb, len), msg, len); |
785 | if (rc != 0) | 785 | if (rc != 0) |
786 | goto out_discard; | 786 | goto out_discard; |
787 | 787 | ||