[PATCH 22.11] net/mlx5: fix async flow create error handling

Luca Boccassi bluca at debian.org
Wed Apr 3 13:15:33 CEST 2024


On Wed, 2024-04-03 at 10:38 +0200, Dariusz Sosnowski wrote:
> [ upstream commit 5ecc8df4fad3411a53c20406f99b59dc736a6d1e ]
> 
> Whenever processing of asynchronous flow rule create operation failed,
> but after some dynamic flow actions had already been allocated,
> these actions were not freed during error handling flow.
> That behavior lead to leaks e.g., RSS/QUEUE action objects were leaked
> which triggered assertions during device cleanup.
> 
> This patch adds flow rule cleanup handling in case of an error
> during async flow rule creation.
> 
> Fixes: 3a2f674b6aa8 ("net/mlx5: add queue and RSS HW steering action")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dariusz Sosnowski <dsosnowski at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
> 

This patch does not apply on stable/22.11, how was it tested?

-- 
Kind regards,
Luca Boccassi


More information about the stable mailing list