]> git.karo-electronics.de Git - karo-tx-linux.git/commit
switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 21 Mar 2015 23:56:16 +0000 (19:56 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 30 Mar 2015 15:32:55 +0000 (11:32 -0400)
commitee9cbae804b3471366af414a363327b52e3134ec
tree59e84fc36de17c0ee8bd2a878d0a57d066a61696
parentbf3d2a11b136e932754891c786685854bb9664cd
switch kernel_sendmsg() and kernel_recvmsg() to iov_iter_kvec()

For kernel_sendmsg() that eliminates the need to play with setfs();
for kernel_recvmsg() it does *not* - a couple of callers are using
it with non-NULL ->msg_control, which would be treated as userland
address on recvmsg side of things.

In all cases we are really setting a kvec-backed iov_iter, though.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/socket.c