RE: [PATCH v2] net/ice: fix raw flow input pattern value change in FDIR

2022-04-13 Thread Guo, Junfeng
> -Original Message- > From: Xu, Ting > Sent: Monday, March 28, 2022 09:49 > To: dev@dpdk.org > Cc: Guo, Junfeng ; Xu, Ting > ; sta...@dpdk.org; Yang, Qiming > ; Zhang, Qi Z > Subject: [PATCH v2] net/ice: fix raw flow input pattern value change in > FDIR

[PATCH v2] net/ice: fix raw flow input pattern value change in FDIR

2022-03-27 Thread Ting Xu
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/i