linux/io_uring/zcrx.c
Pavel Begunkov 64cf301623 io_uring/zcrx: fix page array leak
[ Upstream commit 0ae91d8ab7 ]

d9f595b9a6 ("io_uring/zcrx: fix leaking pages on sg init fail") fixed
a page leakage but didn't free the page array, release it as well.

Fixes: b84621d96e ("io_uring/zcrx: allocate sgtable for umem areas")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-02-11 13:41:56 +01:00

1263 lines
28 KiB