Hi, > -----Original Message----- > From: dev <[email protected]> On Behalf Of Dekel Peled > Sent: Wednesday, November 4, 2020 4:25 PM > To: Slava Ovsiienko <[email protected]>; Shahaf Shuler > <[email protected]>; Matan Azrad <[email protected]> > Cc: [email protected] > Subject: [dpdk-dev] [PATCH] net/mlx5: fix use of local array for global error > > Recent patch uses a local string array as input for function > rte_flow_error_set(). > This stack memory may be later used by other code sections, > overwriting the desired error string. > > This patch impelemnets an error string for the specific case > requested, of ICMP item not supported in Verbs flow engine. > > Fixes: cb6a02dcea9d ("net/mlx5: support item type error message in flow > Verbs") > > Signed-off-by: Dekel Peled <[email protected]> > Acked-by: Matan Azrad <[email protected]> > --- > drivers/net/mlx5/mlx5_flow_verbs.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-) > Patch applied to next-net-mlx,
Kindest regards, Raslan Darawsheh

