Re: [PATCH] RDMA/irdma: Free IRQ when CEQ vector mapping fails
From: Leon Romanovsky
Date: Wed Sep 23 2026 - 09:19:59 EST
On Fri, 18 Sep 2026 14:04:28 +0300, Serhat Kumral wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] RDMA/irdma: Free IRQ when CEQ vector mapping fails
https://git.kernel.org/rdma/rdma/c/df1d75774b1284
Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>