[PATCH v2] net/mlx5/hws: fix possible action setter segmenation fault

Raslan Darawsheh rasland at nvidia.com
Tue Nov 8 09:59:19 CET 2022


Hi,

> -----Original Message-----
> From: Alex Vesker <valex at nvidia.com>
> Sent: Monday, November 7, 2022 12:18 PM
> To: Alex Vesker <valex at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; NBU-Contact-Thomas Monjalon (EXTERNAL)
> <thomas at monjalon.net>; Suanming Mou <suanmingm at nvidia.com>;
> Matan Azrad <matan at nvidia.com>
> Cc: dev at dpdk.org; Ori Kam <orika at nvidia.com>
> Subject: [PATCH v2] net/mlx5/hws: fix possible action setter segmenation
> fault
> 
> When the maximum action combination in RX is used we can get a segfault
> due to an incorrecrt max array size define.
> This bug can happen on RX/TX or FDB in the most complex cases.
> Current max was set to 7, but actual max is:
> Max TX: 8, Max RX: 10, Max FDB: 9
> 
> Fixes: f8c8a6d ("net/mlx5/hws: add action object")
missing empty line - will handle during integration
> Signed-off-by: Alex Vesker <valex at nvidia.com>
> Reviewed-by: Erez Shitrit <erezsh at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list