Re: [PATCH] net/mlx5: fix segfault in counter pool destroy

2025-06-26 Thread Thomas Monjalon
25/06/2025 11:32, Maayan Kashani: > When there is not enough memory, counter pool creation fails. > As a result, the pool is being destroyed. > Since not all pointers were initialized during creation, > Need to check for null pointer in destruction. > > Fixes: 13ea6bdcc7ee ("net/mlx5: support coun

[PATCH] net/mlx5: fix segfault in counter pool destroy

2025-06-25 Thread Maayan Kashani
When there is not enough memory, counter pool creation fails. As a result, the pool is being destroyed. Since not all pointers were initialized during creation, Need to check for null pointer in destruction. Fixes: 13ea6bdcc7ee ("net/mlx5: support counters in cross port shared mode") Cc: sta...@dp