]> git.itanic.dy.fi Git - linux-stable/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:16:29 +0000 (18:16 -0400)
commit0bcd9ff68d446e8333f668a9c64baeb75ee7cc41
tree0c9fdb57041c2f90fd8b51a64f8a10d7db345b16
parentee4949726e62ec6ae4fb7be558d74bc5e41e3d5f
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