]> Gentwo Git Trees - linux/.git/commit
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>
Sun, 24 Aug 2025 17:41:11 +0000 (11:41 -0600)
commit15ba5e51e689ceb1c2e921c5180a70c88cfdc8e9
treed85cfa56e6910b9f928ba8d616be1e84473f54b2
parent5e73b402cbbea51bcab90fc5ee6c6d06af76ae1b
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