[PATCH] net/mlx5: fix entry size in HWS construct data ipool

Raslan Darawsheh rasland at nvidia.com
Sun Jun 5 17:07:17 CEST 2022


Hi,

> -----Original Message-----
> From: Michael Baum <michaelba at nvidia.com>
> Sent: Thursday, June 2, 2022 2:39 PM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at nvidia.com>; Raslan Darawsheh
> <rasland at nvidia.com>; Slava Ovsiienko <viacheslavo at nvidia.com>;
> Suanming Mou <suanmingm at nvidia.com>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix entry size in HWS construct data ipool
> 
> The mlx5_action_construct_data structure memory is managed by ipool
> named acts_ipool.
> 
> The size of one entry in this ipool is mistakenly defined as size of
> rte_flow_hw structure.
> This size is used to reset in the allocated part. When the size is incorrect it
> resets memory that does not belong to it.
> 
> This patch defines the correct size.
> 
> Fixes: f13fab23922b ("net/mlx5: add flow jump action")
> Cc: suanmingm at nvidia.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Michael Baum <michaelba 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 stable mailing list