io_uring: remove unneeded io_send_zc accounting
authorDylan Yudaken <dyudaken@gmail.com>
Sun, 15 Feb 2026 23:15:23 +0000 (23:15 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Feb 2026 15:10:46 +0000 (08:10 -0700)
commit046fcc83ac1ba8747f0bcae13f5e433802735245
tree4bffa9ebb38443440545974c5ee2e547cb0305b7
parent600b665b903733bd60334e86031b157cc823ee55
io_uring: remove unneeded io_send_zc accounting

zc->len and zc->buf are not actually used once you get to the retry
stage. The buffer remains in kmsg->msg.msg_iter, which is setup in
io_send_setup.
Note: it still seems needed in io_send due to io_send_select_buffer
needing it (for the len parameter).

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