aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/module-common.c
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2024-09-23 18:05:12 +0800
committerJens Axboe <axboe@kernel.dk>2024-09-24 13:31:00 -0600
commit3a87e264290d71ec86a210ab3e8d23b715ad266d (patch)
tree530f74b7deba62991d433d3f8ed9e34994298ffb /scripts/module-common.c
parentMerge tag 'sched_ext-for-6.12-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext (diff)
downloadwireguard-linux-3a87e264290d71ec86a210ab3e8d23b715ad266d.tar.xz
wireguard-linux-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 <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>
Diffstat (limited to 'scripts/module-common.c')
0 files changed, 0 insertions, 0 deletions