aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-add.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-07-21 09:56:22 +0000
committerJens Axboe <[email protected]>2025-07-21 12:47:45 +0000
commitd9f595b9a65e9c9eb03e21f3db98fde158d128db (patch)
tree85172b0bc0034db189ac5d66a1c7c2cbdc3a8445 /lib/crypto/mpi/mpi-add.c
parentio_uring/zcrx: don't leak pages on account failure (diff)
downloadkernel-d9f595b9a65e9c9eb03e21f3db98fde158d128db.tar.gz
kernel-d9f595b9a65e9c9eb03e21f3db98fde158d128db.zip
io_uring/zcrx: fix leaking pages on sg init fail
If sg_alloc_table_from_pages() fails, io_import_umem() returns without cleaning up pinned pages first. Fix it. Fixes: b84621d96ee02 ("io_uring/zcrx: allocate sgtable for umem areas") Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/9fd94d1bc8c316611eccfec7579799182ff3fb0a.1753091564.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions