Re: [RESEND PATCH net-next 1/1] net/mlx5: Clean up only new IRQ glue on request_irq() failure
From: Jacob Keller
Date: Tue Jul 01 2025 - 16:53:51 EST
On 6/25/2025 10:32 PM, Mohith Kumar Thummaluru wrote:
> The mlx5_irq_alloc() function can inadvertently free the entire rmap
> and end up in a crash[1] when the other threads tries to access this,
> when request_irq() fails due to exhausted IRQ vectors. This commit
> modifies the cleanup to remove only the specific IRQ mapping that was
> just added.
>
> This prevents removal of other valid mappings and ensures precise
> cleanup of the failed IRQ allocation's associated glue object.
>
> Note: This error is observed when both fwctl and rds configs are enabled.
>
Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature