]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/net: move receive multishot out of the generic msghdr path
authorJens Axboe <axboe@kernel.dk>
Tue, 27 Feb 2024 18:09:20 +0000 (11:09 -0700)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:18 +0000 (18:19 -0400)
commit51d28472db8b031215642edfbe6422f8f6c2f74c
treedba83bcc8869acad9f1496f7356d4a050c14a664
parent1a03310940bb5a35daaf933692dcfa55262eb8bf
io_uring/net: move receive multishot out of the generic msghdr path

[ Upstream commit c55978024d123d43808ab393a0a4ce3ce8568150 ]

Move the actual user_msghdr / compat_msghdr into the send and receive
sides, respectively, so we can move the uaddr receive handling into its
own handler, and ditto the multishot with buffer selection logic.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Stable-dep-of: 8ede3db5061b ("io_uring/net: fix overflow check in io_recvmsg_mshot_prep()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
io_uring/net.c