Re: [PATCH v2 2/2] net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs

2024-12-10 Thread Kalesh Anakkur Purayil
On Mon, Dec 9, 2024 at 11:29 PM Maxim Levitsky wrote: > > gc->irq_contexts is not freeded if one of the later operations > fail. > > Suggested-by: Michael Kelley > Fixes: 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores") > Signed-off-by: Maxim Levitsky LGTM Reviewed-by: Kalesh AP

Re: [PATCH v2 2/2] net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs

2024-12-09 Thread Michal Swiatkowski
On Mon, Dec 09, 2024 at 12:57:51PM -0500, Maxim Levitsky wrote: > gc->irq_contexts is not freeded if one of the later operations > fail. > > Suggested-by: Michael Kelley > Fixes: 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores") > Signed-off-by: Maxim Levitsky > --- > drivers/net/e

[PATCH v2 2/2] net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs

2024-12-09 Thread Maxim Levitsky
gc->irq_contexts is not freeded if one of the later operations fail. Suggested-by: Michael Kelley Fixes: 8afefc361209 ("net: mana: Assigning IRQ affinity on HT cores") Signed-off-by: Maxim Levitsky --- drivers/net/ethernet/microsoft/mana/gdma_main.c | 5 +++-- 1 file changed, 3 insertions(+), 2