summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSerhat Kumral <serhatkumral1@gmail.com>2026-09-18 14:04:28 +0300
committerLeon Romanovsky <leon@kernel.org>2026-09-28 08:06:47 -0400
commit952f18e04fa9790e347e09263c25318afe723d86 (patch)
treecc4501f3c0618ecc1859dc1542f48ef411321d84 /tools/lib/python
parente43913aabd35eef837edef29e93f15e15bdeeacd (diff)
RDMA/irdma: Free IRQ when CEQ vector mapping fails
irdma_cfg_ceq_vector() registers an IRQ handler before requesting the CEQ-to-vector mapping through the virtual channel. If the mapping fails, the function returns without releasing the IRQ resources. The caller destroys the CEQ, leaving the IRQ handler registered and potentially referencing freed memory. Call irdma_destroy_irq() on mapping failure to release the IRQ resources and drain the associated tasklet before the caller destroys the CEQ. Use the same dev_id passed to request_irq(), accounting for CEQ0 sharing its interrupt vector with the AEQ. Fixes: b800e82feba7 ("RDMA/irdma: Add GEN3 support for AEQ and CEQ") Assisted-by: Claude:claude-opus-5 Signed-off-by: Serhat Kumral <serhatkumral1@gmail.com> Link: https://patch.msgid.link/20260918110428.36586-1-serhatkumral1@gmail.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions