[PATCH v1] net/mlx5: fix job leak on indirect meter creation failure
Raslan Darawsheh
rasland at nvidia.com
Thu Feb 5 08:56:15 CET 2026
Hi,
On 08/12/2025 12:12 PM, 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>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh
More information about the stable
mailing list