diff options
| author | Pavel Begunkov <[email protected]> | 2025-02-19 10:09:54 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-02-19 21:52:58 +0000 |
| commit | 95e65f2d0bdef883b09b7044b1435a36819ae38a (patch) | |
| tree | 80da393567a7876fc74fd3519d3d0955657ca996 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | io_uring/zcrx: recheck ifq on shutdown (diff) | |
| download | kernel-95e65f2d0bdef883b09b7044b1435a36819ae38a.tar.gz kernel-95e65f2d0bdef883b09b7044b1435a36819ae38a.zip | |
io_uring/zcrx: fix leaks on failed registration
If we try to register a device-less interface like veth,
io_register_zcrx_ifq() will leak struct io_zcrx_ifq with a bunch of
resources attached to it. Fix that.
Fixes: 035af94b39fd ("io_uring/zcrx: grab a net device")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/fbf16279dd73fa4c6df048168728355636ba5f53.1739959771.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
