[RFT 2/4] net/mlx5: fix counter leak in hairpin queue setup
Dariusz Sosnowski
dsosnowski at nvidia.com
Thu Feb 26 10:57:04 CET 2026
On Tue, Feb 17, 2026 at 07:05:00AM -0800, Stephen Hemminger wrote:
> When rxq_obj_modify_counter_set_id() fails in
> mlx5_enable_per_queue_hairpin_counter(), the freshly allocated DevX
> queue counter object is not destroyed before returning. Destroy it
> on the error path.
>
> Fixes: f0c0731b6d40 ("net/mlx5: add counters for hairpin drop")
> Cc: stable at dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
More information about the stable
mailing list