Hi,

> -----Original Message-----
> From: Bing Zhao <[email protected]>
> Sent: Tuesday, November 23, 2021 6:05 PM
> To: Slava Ovsiienko <[email protected]>; Matan Azrad
> <[email protected]>
> Cc: [email protected]; Raslan Darawsheh <[email protected]>;
> [email protected]; Li Zhang <[email protected]>; Shun Hao
> <[email protected]>
> Subject: [PATCH v2] net/mlx5: fix RSS validation for meter hierarchy
> 
> In a meter hierarchy, all the meters are marked with having RSS if
> the final meter's termination action is RSS.
> 
> When validating a flow rule with meter hierarchy, the RSS action
> should not be fetched from the current meter if it is not the final
> one.
> 
> The fate action union is next meter ID instead of the pointer to the
> RSS action. By using the final meter in the hierarchy, the flow rule
> validation will succeed without any crash caused by the invalid RSS
> action pointer access.
> 
> Fixes: 1ce19ab1f43b ("net/mlx5: fix RSS validation with meter policy")
> Cc: [email protected]
> 
> Signed-off-by: Bing Zhao <[email protected]>
> Reviewed-by: Li Zhang <[email protected]>
> Reviewed-by: Shun Hao <[email protected]>
> Acked-by: Matan Azrad <[email protected]>

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to