diff options
| author | Jens Axboe <[email protected]> | 2025-11-10 21:30:41 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-11-10 21:59:08 +0000 |
| commit | d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc (patch) | |
| tree | 1d5e27baf3850736b668eb1efe57f1541e584d8b /lib/mpi/mpi-mod.c | |
| parent | io_uring: fix regbuf vector size truncation (diff) | |
| download | kernel-d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc.tar.gz kernel-d3c9c213c0b86ac5dd8fe2c53c24db20f1f510bc.zip | |
io_uring/rw: ensure allocated iovec gets cleared for early failure
A previous commit reused the recyling infrastructure for early cleanup,
but this is not enough for the case where our internal caches have
overflowed. If this happens, then the allocated iovec can get leaked if
the request is also aborted early.
Reinstate the previous forced free of the iovec for that situation.
Cc: [email protected]
Reported-by: [email protected]
Tested-by: [email protected]
Fixes: 9ac273ae3dc2 ("io_uring/rw: use io_rw_recycle() from cleanup path")
Link: https://lore.kernel.org/io-uring/[email protected]/
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
