]> git.ipfire.org Git - thirdparty/linux.git/commit
net: separate out the msghdr copy from ___sys_{send,recv}msg()
authorJens Axboe <axboe@kernel.dk>
Mon, 25 Nov 2019 21:27:34 +0000 (14:27 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 22:02:41 +0000 (15:02 -0700)
commit4257c8ca13b084550574b8c9a667d9c90ff746eb
tree22630dbdb627f4476726845338d31553179bb18a
parent8042d6ce8c40df0abb0d91662a754d074a3d3f16
net: separate out the msghdr copy from ___sys_{send,recv}msg()

This is in preparation for enabling the io_uring helpers for sendmsg
and recvmsg to first copy the header for validation before continuing
with the operation.

There should be no functional changes in this patch.

Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
net/socket.c