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

2022-03-24 Thread Guo, Junfeng
> -Original Message- > From: Xu, Ting > Sent: Friday, March 18, 2022 11:17 > To: dev@dpdk.org > Cc: Guo, Junfeng ; Xu, Ting > ; sta...@dpdk.org; Yang, Qiming > ; Zhang, Qi Z > Subject: [PATCH] net/ice: fix raw flow input pattern value change in FDIR > >

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

2022-03-17 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