diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-11-24 13:26:06 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-12-09 16:28:22 -0500 |
commit | f4362a2c9524678f0459cf410403f8595e5cfce5 (patch) | |
tree | 6b112cb41a3c4c6b444f7c8aac77ad96e48e91b2 /net/ipv4/tcp.c | |
parent | f69e6d131f5dac8278ac79a902cc448364880d8b (diff) | |
download | linux-f4362a2c9524678f0459cf410403f8595e5cfce5.tar.bz2 |
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; |