> -----Original Message-----
> From: Xu, Ting <[email protected]>
> Sent: Monday, March 28, 2022 09:49
> To: [email protected]
> Cc: Guo, Junfeng <[email protected]>; Xu, Ting
> <[email protected]>; [email protected]; Yang, Qiming
> <[email protected]>; Zhang, Qi Z <[email protected]>
> Subject: [PATCH v2] net/ice: fix raw flow input pattern value change in
> FDIR
>
> When parsing raw flow pattern in FDIR, the input parameter spec and
> mask are used directly and the original value will be changed. It
> will cause error if these values are used in other functions. In this
> patch, temporary variables are created to store the spec and mask.
>
> Fixes: 25be39cc1760 ("net/ice: enable protocol agnostic flow offloading
> in FDIR")
>
> Cc: [email protected]
>
> Signed-off-by: Ting Xu <[email protected]>
> ---
> drivers/net/ice/ice_fdir_filter.c | 25 +++++++++++++++++++------
> 1 file changed, 19 insertions(+), 6 deletions(-)
>
> --
> 2.17.1
Acked-by: Junfeng Guo <[email protected]>
Regards,
Junfeng Guo