diff options
author | 2025-03-20 12:25:12 -0600 | |
---|---|---|
committer | 2025-03-20 12:27:27 -0600 | |
commit | cc34d8330e036b6bffa88db9ea537bae6b03948f (patch) | |
tree | 46b5282ac9aa17ff3ab674641c47ac63ff79c7d9 /scripts/lib/kdoc/kdoc_parser.py | |
parent | io_uring/rw: ensure reissue path is correctly handled for IOPOLL (diff) | |
download | linux-rng-cc34d8330e036b6bffa88db9ea537bae6b03948f.tar.xz linux-rng-cc34d8330e036b6bffa88db9ea537bae6b03948f.zip |
io_uring/net: don't clear REQ_F_NEED_CLEANUP unconditionally
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>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions