io_uring/net: don't use io_net_kbuf_recyle() for non-provided cases
authorJens Axboe <axboe@kernel.dk>
Wed, 20 Aug 2025 14:43:59 +0000 (08:43 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Aug 2025 00:36:26 +0000 (18:36 -0600)
commit19abc8f8f36e9ac0f7c084028231f6cf4cfeb631
treeca4be6846f9bf75556397e501d907912da71e1a8
parent23c9bc76bf121c9de0c5679db9bab9cc3db20295
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.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c