Files
linux/io_uring
Guixin Liu a3f7d79554 io_uring: fix memory leak when cache init fail
[ Upstream commit 3a87e26429 ]

Exit the percpu ref when cache init fails to free the data memory with
in struct percpu_ref.

Fixes: 206aefde4f ("io_uring: reduce/pack size of io_ring_ctx")
Signed-off-by: Guixin Liu <kanie@linux.alibaba.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240923100512.64638-1-kanie@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 12:03:02 +02:00
..
2024-06-19 07:57:21 -06:00
2024-02-09 09:04:39 -07:00
2024-02-09 09:04:39 -07:00