summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2024-09-23 18:05:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-10 12:00:10 +0200
commit0b7eab6a58124960cfc4d087c94be6189e5a31a6 (patch)
tree0781ca81b0206bacec7f46ec45bc59204c51fb07 /sound
parentea65be140e2708a49a944de45431c8bf37d7f065 (diff)
io_uring: fix memory leak when cache init fail
[ Upstream commit 3a87e264290d71ec86a210ab3e8d23b715ad266d ] 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 <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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions