diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 19:26:06 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-09 22:28:22 +0100 |
commit | f4362a2c9524678f0459cf410403f8595e5cfce5 (patch) | |
tree | 6b112cb41a3c4c6b444f7c8aac77ad96e48e91b2 /net/ipv4/tcp.c | |
parent | ip_generic_getfrag, udplite_getfrag: switch to passing msghdr (diff) | |
download | linux-f4362a2c9524678f0459cf410403f8595e5cfce5.tar.xz linux-f4362a2c9524678f0459cf410403f8595e5cfce5.zip |
switch tcp_sock->ucopy from iovec (ucopy.iov) to msghdr (ucopy.msg)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index dc13a3657e8e..4a96f3730170 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -1729,7 +1729,7 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, if (!user_recv && !(flags & (MSG_TRUNC | MSG_PEEK))) { user_recv = current; tp->ucopy.task = user_recv; - tp->ucopy.iov = msg->msg_iov; + tp->ucopy.msg = msg; } tp->ucopy.len = len; |