[PATCH v1] net/mlx5: fix job leak on indirect meter creation failure
Dariusz Sosnowski
dsosnowski at nvidia.com
Fri Jan 9 18:43:15 CET 2026
On Mon, Dec 08, 2025 at 12:12:03PM +0200, Rongwei Liu wrote:
> Indirect meter_mark action needs to allocate a job to track
> asynchronous HW operation to create the meter object.
>
> When meter_mark creation failed, the job may have been leaked
> because there was no job cleanup code for sync API.
>
> Add necessary code to check if meter_mark creation failed before or
> after HW operation is enqueued and call job_put accordingly.
>
> Fixes: 4359d9d1f76b ("net/mlx5: fix sync meter processing in HWS")
> Cc: getelson at nvidia.com
> Cc: stable at dpdk.org
>
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
Acked-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
Best regards,
Dariusz Sosnowski
More information about the stable
mailing list