]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
io_uring/net: clear REQ_F_BL_EMPTY in the multishot retry handler
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Mar 2024 20:19:46 +0000 (13:19 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 7 Mar 2024 20:22:05 +0000 (13:22 -0700)
commitb5311dbc2c2eefac00f12888dcd15e90238d1828
treef8046e586c8d25aaaaf4fb701910cda34be1f9e2
parent1a8ec63b2b6c91caec87d4e132b1f71b5df342be
io_uring/net: clear REQ_F_BL_EMPTY in the multishot retry handler

This flag should not be persistent across retries, so ensure we clear
it before potentially attemting a retry.

Fixes: c3f9109dbc9e ("io_uring/kbuf: flag request if buffer pool is empty after buffer pick")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/net.c