]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/net: unify sendmsg setup with zc
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 28 Mar 2025 23:10:57 +0000 (23:10 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 28 Mar 2025 23:11:20 +0000 (17:11 -0600)
commit63b16e4f0b90abad500ecb7bc7a625278febdc2c
tree3d6d397d7c2413eb606d6fb8386ce4ead1c8a26c
parentc55e2845dfa72e647ed8d9a7b4c6e11a8ed0fc1e
io_uring/net: unify sendmsg setup with zc

io_sendmsg_zc_setup() duplicates parts of io_sendmsg_setup(), and the
only difference between them is that the former support vectored
registered buffers with nothing zerocopy specific. Merge them together,
we want regular sendmsg to eventually support fixed buffers either way.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7e5ec40f9dc93355399dc6fa0cbc8b31f0b20ac5.1743202294.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c