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: [email protected]
> Cc: [email protected]
>
> Signed-off-by: Rongwei Liu <[email protected]>
Acked-by: Dariusz Sosnowski <[email protected]>
Best regards,
Dariusz Sosnowski