diff options
| author | Penglei Jiang <[email protected]> | 2025-06-25 10:27:03 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-06-25 14:14:14 +0000 |
| commit | 7cac633a42a7b3c8146eb1db76fb80dc652998de (patch) | |
| tree | 375fce3a8e323d8eb92b5b769a961190c5c79967 /lib/crypto/mpi/mpicoder.c | |
| parent | io_uring: don't assume uaddr alignment in io_vec_fill_bvec (diff) | |
| download | kernel-7cac633a42a7b3c8146eb1db76fb80dc652998de.tar.gz kernel-7cac633a42a7b3c8146eb1db76fb80dc652998de.zip | |
io_uring: fix resource leak in io_import_dmabuf()
Replace the return statement with setting ret = -EINVAL and jumping to
the err label to ensure resources are released via io_release_dmabuf.
Fixes: a5c98e942457 ("io_uring/zcrx: dmabuf backed zerocopy receive")
Signed-off-by: Penglei Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
