diff options
Diffstat (limited to 'net/x25/af_x25.c')
-rw-r--r-- | net/x25/af_x25.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c index 5ad4418ef093..59e785bfde65 100644 --- a/net/x25/af_x25.c +++ b/net/x25/af_x25.c | |||
@@ -1335,7 +1335,7 @@ static int x25_recvmsg(struct kiocb *iocb, struct socket *sock, | |||
1335 | /* Currently, each datagram always contains a complete record */ | 1335 | /* Currently, each datagram always contains a complete record */ |
1336 | msg->msg_flags |= MSG_EOR; | 1336 | msg->msg_flags |= MSG_EOR; |
1337 | 1337 | ||
1338 | rc = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied); | 1338 | rc = skb_copy_datagram_msg(skb, 0, msg, copied); |
1339 | if (rc) | 1339 | if (rc) |
1340 | goto out_free_dgram; | 1340 | goto out_free_dgram; |
1341 | 1341 | ||