(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

crypto: ccp - kill v5 IRQ tasklet during teardown

On PCI devices using MSI-X, ccp5_irq_handler() schedules irq_tasklet. The teardown paths release the IRQ but do not drain a tasklet that was already queued, so it can access ccp after the device-managed allocation has been released. Kill the tasklet after releasing the IRQ in both the initialization error path and ccp5_destroy(). Fixes: 6263b51eb319 ("crypto: ccp - Change ISR handler method for a v5 CCP") Signed-off-by: Jiale Yao <yaojiale02@163.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>


Author Jiale Yao Committer Herbert Xu Date Commit Parent b72a639b
+4
1 changed file
+4
1 changed file