diff options
| author | Pavel Begunkov <asml.silence@gmail.com> | 2026-03-31 22:07:41 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-04-02 06:55:36 -0600 |
| commit | 52dcd1776bed614c6a270d9237df6105feab4c14 (patch) | |
| tree | 0736fb31f23b661d7e4f3e366447b09edaf888a2 /drivers/char/drm/git@git.tavy.me:linux.git | |
| parent | 8ae2837d5a97644b729a889951127da98111a32d (diff) | |
io_uring/zcrx: don't clear not allocated niovs
Now that area->is_mapped is set earlier before niovs array is allocated,
io_zcrx_free_area -> io_zcrx_unmap_area in an error path can try to
clear dma addresses for unallocated niovs, fix it.
Fixes: 8c0cab0b7bf7 ("io_uring/zcrx: always dma map in advance")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://patch.msgid.link/cbcb7749b5a001ecd4d1c303515ce9403215640c.1774780198.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/char/drm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
