[dpdk-dev] [PATCH] net/mlx5: fix tunnel flow destroy

Raslan Darawsheh rasland at nvidia.com
Mon Nov 2 17:27:34 CET 2020


Hi,

> -----Original Message-----
> From: Gregory Etelson <getelson at nvidia.com>
> Sent: Wednesday, October 28, 2020 6:58 AM
> To: dev at dpdk.org
> Cc: Gregory Etelson <getelson at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>; Eli Britstein
> <elibr at nvidia.com>; Oz Shlomo <ozsh at nvidia.com>; Shahaf Shuler
> <shahafs at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>
> Subject: [PATCH] net/mlx5: fix tunnel flow destroy
> 
> Flow destructor tired to access flow related resources after the
> flow object memory was already released and crashed dpdk process.
> 
> The patch moves flow memory release to the end of destructor.
> 
Added missing:
Fixes: 424ea8d8fe55 ("net/mlx5: implement tunnel offload")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---
>  drivers/net/mlx5/mlx5_flow.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list