aboutsummaryrefslogtreecommitdiffstats
path: root/net/llc/af_llc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/llc/af_llc.c')
-rw-r--r--net/llc/af_llc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c
index bb9cbc17d926..af662669f951 100644
--- a/net/llc/af_llc.c
+++ b/net/llc/af_llc.c
@@ -819,8 +819,7 @@ static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock,
819 used = len; 819 used = len;
820 820
821 if (!(flags & MSG_TRUNC)) { 821 if (!(flags & MSG_TRUNC)) {
822 int rc = skb_copy_datagram_iovec(skb, offset, 822 int rc = skb_copy_datagram_msg(skb, offset, msg, used);
823 msg->msg_iov, used);
824 if (rc) { 823 if (rc) {
825 /* Exception. Bailout! */ 824 /* Exception. Bailout! */
826 if (!copied) 825 if (!copied)