[dpdk-dev] [PATCH] net/ice: fix illegal pointer access when removing mac filter
Zhang, Qi Z
qi.z.zhang at intel.com
Tue Apr 13 08:40:57 CEST 2021
> -----Original Message-----
> From: Peng, ZhihongX <zhihongx.peng at intel.com>
> Sent: Tuesday, April 13, 2021 2:30 PM
> To: Ma, WenwuX <wenwux.ma at intel.com>; Yang, Qiming
> <qiming.yang at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org
> Subject: RE: [dpdk-dev] [PATCH] net/ice: fix illegal pointer access when
> removing mac filter
>
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Wenwu Ma
> Sent: Friday, April 2, 2021 9:53 PM
> To: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: dev at dpdk.org
> Subject: [dpdk-dev] [PATCH] net/ice: fix illegal pointer access when removing
> mac filter
>
> When removing the mac filter in ice_remove_all_mac_vlan_filters(),
> TAILQ_FOREACH_SAFE should be used instead of TAILQ_FOREACH, Otherwise,
> it will result in a illegal pointer access.
>
> Fixes: e0dcf94a0d7f ("net/ice: support VLAN ops")
> Cc: stable at dpdk.org
>
> Signed-off-by: Wenwu Ma <wenwux.ma at intel.com>
> Tested-by: Peng Zhihong <zhihongx.peng at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the dev
mailing list