diff options
| author | Guixin Liu <[email protected]> | 2024-09-23 10:05:12 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2024-09-24 19:31:00 +0000 |
| commit | 3a87e264290d71ec86a210ab3e8d23b715ad266d (patch) | |
| tree | 530f74b7deba62991d433d3f8ed9e34994298ffb /rust/helpers/workqueue.c | |
| parent | Merge tag 'sched_ext-for-6.12-rc1-fixes' of git://git.kernel.org/pub/scm/linu... (diff) | |
| download | kernel-3a87e264290d71ec86a210ab3e8d23b715ad266d.tar.gz kernel-3a87e264290d71ec86a210ab3e8d23b715ad266d.zip | |
io_uring: fix memory leak when cache init fail
Exit the percpu ref when cache init fails to free the data memory with
in struct percpu_ref.
Fixes: 206aefde4f88 ("io_uring: reduce/pack size of io_ring_ctx")
Signed-off-by: Guixin Liu <[email protected]>
Reviewed-by: Gabriel Krisman Bertazi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
