diff options
| author | Vinicius Costa Gomes <vinicius.gomes@intel.com> | 2026-01-21 10:34:34 -0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-02-25 16:39:18 +0530 |
| commit | d9cfb5193a047a92a4d3c0e91ea4cc87c8f7c478 (patch) | |
| tree | e043c4a1d6cb32289704892762addd8f91d8504d /include/asm-sh/git@git.tavy.me:linux.git | |
| parent | 3d33de353b1ff9023d5ec73b9becf80ea87af695 (diff) | |
dmaengine: idxd: Fix memory leak when a wq is reset
idxd_wq_disable_cleanup() which is called from the reset path for a
workqueue, sets the wq type to NONE, which for other parts of the
driver mean that the wq is empty (all its resources were released).
Only set the wq type to NONE after its resources are released.
Fixes: da32b28c95a7 ("dmaengine: idxd: cleanup workqueue config after disabling")
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-8-7ed70658a9d1@intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/asm-sh/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
