io_uring/net: don't use io_net_kbuf_recyle() for non-provided cases
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 02:03:31 +0000 (20:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 11:37:40 +0000 (05:37 -0600)
commit76a74eca12b739430094247ab8b0acb0747e5337
treef4d3c457332ee71618ff7553d5d841167bfe91be
parentef49313455833485895023590b02d4ef7cb58acb
io_uring/net: don't use io_net_kbuf_recyle() for non-provided cases

A previous commit used io_net_kbuf_recyle() for any network helper that
did IO and needed partial retry. However, that's only needed if the
opcode does buffer selection, which isnt support for sendzc, sendmsg_zc,
or sendmsg. Just remove them - they don't do any harm, but it is a bit
confusing when reading the code.

Link: https://lore.kernel.org/r/20250821020750.598432-4-axboe@kernel.dk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c