diff options
| author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2026-01-21 10:34:35 -0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-02-25 16:39:18 +0530 |
| commit | c311f5e9248471a950f0a524c2fd736414d98900 (patch) | |
| tree | 64f635230c00c78cf50346de959cbe4585a2eb69 /include/asm-um/git@git.tavy.me:linux.git | |
| parent | d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478 (diff) | |
dmaengine: idxd: Fix freeing the allocated ida too late
It can happen that when the cdev .release() is called, the driver
already called ida_destroy(). Move ida_free() to the _del() path.
We see with DEBUG_KOBJECT_RELEASE enabled and forcing an early PCI
unbind.
Fixes: 04922b7445a1 ("dmaengine: idxd: fix cdev setup and free device lifetime issues")
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Link: https://patch.msgid.link/20260121-idxd-fix-flr-on-kernel-queues-v3-v3-9-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-um/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
