aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2025-07-21 09:56:21 +0000
committerJens Axboe <[email protected]>2025-07-21 12:47:45 +0000
commit6bbd3411ff87df1ca38ff32d36eb5dc673ca8021 (patch)
treeb26c02f4c583039b74f492a1fc7bc8a4266bbd0a /net/unix/af_unix.c
parentio_uring/zcrx: fix null ifq on area destruction (diff)
downloadkernel-6bbd3411ff87df1ca38ff32d36eb5dc673ca8021.tar.gz
kernel-6bbd3411ff87df1ca38ff32d36eb5dc673ca8021.zip
io_uring/zcrx: don't leak pages on account failure
Someone needs to release pinned pages in io_import_umem() if accounting fails. Assign them to the area but return an error, the following io_zcrx_free_area() will clean them up. Fixes: 262ab205180d2 ("io_uring/zcrx: account area memory") Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/e19f283a912f200c0d427e376cb789fc3f3d69bc.1753091564.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions