Hi, > -----Original Message----- > From: Bing Zhao <[email protected]> > Sent: Friday, June 30, 2023 3:45 PM > To: Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; Ori Kam <[email protected]>; Suanming Mou > <[email protected]>; Raslan Darawsheh <[email protected]> > Cc: [email protected]; Alexander Kozyrev <[email protected]>; > [email protected] > Subject: [PATCH] net/mlx5: fix the profile check of meter mark > > When creating a meter_mark action, the profile should be specified. > Or else there would be a crash if the pointer to the profile was not set > properly: > 1. creating an action template with only action mask set and using > this template to create a table > 2. creating a flow rule without setting the profile if the action > of meter_mark is not fixed > > The check should be done inside the action allocation and an error needs to be > returned immediately. > > Fixes: 48fbb0e93d06 ("net/mlx5: support flow meter mark indirect action > with HWS") > Cc: [email protected] > Cc: [email protected] > > Signed-off-by: Bing Zhao <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

