]> git.baikalelectronics.ru Git - kernel.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)
commit06b8f258fc102923a416c5a2469c1298bc90c24a
tree22630dbdb627f4476726845338d31553179bb18a
parent33758e8afc1a69ba3f38a254d06c6b2d12d6ce58
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