diff options
Diffstat (limited to 'net/caif')
-rw-r--r-- | net/caif/caif_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/caif/caif_socket.c b/net/caif/caif_socket.c index 43f750e88e19..fbcd156099fb 100644 --- a/net/caif/caif_socket.c +++ b/net/caif/caif_socket.c | |||
@@ -293,7 +293,7 @@ static int caif_seqpkt_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
293 | copylen = len; | 293 | copylen = len; |
294 | } | 294 | } |
295 | 295 | ||
296 | ret = skb_copy_datagram_iovec(skb, 0, m->msg_iov, copylen); | 296 | ret = skb_copy_datagram_msg(skb, 0, m, copylen); |
297 | if (ret) | 297 | if (ret) |
298 | goto out_free; | 298 | goto out_free; |
299 | 299 | ||