mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
io_uring/net: unify how recvmsg and sendmsg copy in the msghdr
[ Upstream commit52307ac4f2] For recvmsg, we roll our own since we support buffer selections. This isn't the case for sendmsg right now, but in preparation for doing so, make the recvmsg copy helpers generic so we can call them from the sendmsg side as well. Signed-off-by: Jens Axboe <axboe@kernel.dk> Stable-dep-of:8ede3db506("io_uring/net: fix overflow check in io_recvmsg_mshot_prep()") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
01df80b3e4
commit
1a03310940
1 changed files with 142 additions and 129 deletions
271
io_uring/net.c
271
io_uring/net.c
Loading…
Add table
Add a link
Reference in a new issue