summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2025-03-20 12:25:12 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-03-28 22:04:55 +0100
commit7473c1e5159f0c94337a65a2b9973260f8154c11 (patch)
tree47426282b666058cbd727c18051d4c1ef068c34b /arch
parent6242772c9d9756bb5d5543b48cf5119772ad75cf (diff)
downloadlinux-7473c1e5159f0c94337a65a2b9973260f8154c11.tar.gz
linux-7473c1e5159f0c94337a65a2b9973260f8154c11.tar.bz2
linux-7473c1e5159f0c94337a65a2b9973260f8154c11.zip
io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
commit cc34d8330e036b6bffa88db9ea537bae6b03948f upstream. io_req_msg_cleanup() relies on the fact that io_netmsg_recycle() will always fully recycle, but that may not be the case if the msg cache was already full. To ensure that normal cleanup always gets run, let io_netmsg_recycle() deal with clearing the relevant cleanup flags, as it knows exactly when that should be done. Cc: stable@vger.kernel.org Reported-by: David Wei <dw@davidwei.uk> Fixes: 75191341785e ("io_uring/net: add iovec recycling") Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions