summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-11-24 13:26:06 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2014-12-09 16:28:22 -0500
commitf4362a2c9524678f0459cf410403f8595e5cfce5 (patch)
tree6b112cb41a3c4c6b444f7c8aac77ad96e48e91b2 /net/ipv4/tcp.c
parentf69e6d131f5dac8278ac79a902cc448364880d8b (diff)
downloadop-kernel-dev-f4362a2c9524678f0459cf410403f8595e5cfce5.zip
op-kernel-dev-f4362a2c9524678f0459cf410403f8595e5cfce5.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index dc13a36..4a96f37 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;
OpenPOWER on IntegriCloud