Searched hist:"6 aa24814" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ |
H A D | socket.c | 6aa24814 Sat Mar 21 18:56:16 CDT 2015 Al Viro <viro@zeniv.linux.org.uk> 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> 6aa24814 Sat Mar 21 18:56:16 CDT 2015 Al Viro <viro@zeniv.linux.org.uk> 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>
|