diff options
| author | Rosen Penev <rosenp@gmail.com> | 2026-09-09 16:46:01 -0700 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-09-15 21:55:12 +0530 |
| commit | bcb4d469b19d53dc21e4a1da12d4438e7489e150 (patch) | |
| tree | a8f27060ba48417c9d16f48c640814ad731c2d3c /tools/perf/scripts/python | |
| parent | 6ad1b49cc30dc9bc7c06dd44241e61fe6f82c0b8 (diff) | |
| download | linux-next-bcb4d469b19d53dc21e4a1da12d4438e7489e150.tar.gz linux-next-bcb4d469b19d53dc21e4a1da12d4438e7489e150.zip | |
dmaengine: mv_xor: kill tasklet on channel add error path
If request_irq() succeeds but a later step (self-test or device
registration) fails, the error path at err_free_irq frees the IRQ
but does not kill the tasklet. A previously scheduled tasklet can
still run after the channel is freed, accessing freed memory.
Add tasklet_kill() after free_irq() on the error path.
Fixes: ff7b04796d98 ("dmaengine: DMA engine driver for Marvell XOR engine")
Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260909234601.101883-1-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
