]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
io_uring/zctx: unify zerocopy issue variants
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 16 Feb 2026 11:45:55 +0000 (11:45 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Mar 2026 13:21:54 +0000 (07:21 -0600)
commit403fec55bf938bde4f8361b1afa135c853ca5ef9
treeefcaf2767f92e1e4e31a82532201781cb6e0eec7
parent2f9965f5d5de022e2040231712f36d4e93d8a3df
io_uring/zctx: unify zerocopy issue variants

io_send_zc and io_sendmsg_zc started different but now the only real
difference between them is how registered buffers are imported and
which net helper we use. Avoid duplication and combine them into a
single function.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c
io_uring/net.h
io_uring/opdef.c