aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
diff options
context:
space:
mode:
Diffstat (limited to 'net/decnet')
-rw-r--r--net/decnet/af_decnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c
index e2e2e3cb9113..810228646de3 100644
--- a/net/decnet/af_decnet.c
+++ b/net/decnet/af_decnet.c
@@ -1760,7 +1760,7 @@ static int dn_recvmsg(struct kiocb *iocb, struct socket *sock,
1760 if ((chunk + copied) > size) 1760 if ((chunk + copied) > size)
1761 chunk = size - copied; 1761 chunk = size - copied;
1762 1762
1763 if (memcpy_toiovec(msg->msg_iov, skb->data, chunk)) { 1763 if (memcpy_to_msg(msg, skb->data, chunk)) {
1764 rv = -EFAULT; 1764 rv = -EFAULT;
1765 break; 1765 break;
1766 } 1766 }