]> 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)
commitb851c639466a4d5507dfb5826b9958d6151d128d
tree22630dbdb627f4476726845338d31553179bb18a
parentdc9d3aed85fac7b21f47a6eead2c0e60703428e6
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