summaryrefslogtreecommitdiff
path: root/include/uapi/linux/errqueue.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2026-01-18 19:48:01 -0700
committerJens Axboe <axboe@kernel.dk>2026-01-19 06:59:06 -0700
commit4b9748055457ac3a0710bf210c229d01ea1b01b9 (patch)
tree899350e47295b5daa4ef3ef5750105047ac1dbec /include/uapi/linux/errqueue.h
parentda579f05ef0faada3559e7faddf761c75cdf85e1 (diff)
io_uring/rw: free potentially allocated iovec on cache put failure
If a read/write request goes through io_req_rw_cleanup() and has an allocated iovec attached and fails to put to the rw_cache, then it may end up with an unaccounted iovec pointer. Have io_rw_recycle() return whether it recycled the request or not, and use that to gauge whether to free a potential iovec or not. Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions