]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/socket.c
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>
Thu, 9 Apr 2015 04:02:34 +0000 (00:02 -0400)
commit6aa248145ab0b1809de2411cf129ec1fc315a46f
tree264f1d52216a267aea823443e728771c9a35a400
parentda18428498fb24438a23d982259461fe22bc1f46
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