> -Original Message-
> From: Ma, WenwuX
> Sent: Thursday, April 1, 2021 11:14 PM
> To: Yang, Qiming ; Zhang, Qi Z
>
> Cc: dev@dpdk.org
> Subject: [PATCH] net/ice: fix illegal pointer access in releasing vsi
Please add fix line and cc stable.
>
> When deleting the mac filter in ice_r
When deleting 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.
Signed-off-by: Wenwu Ma
---
drivers/net/ice/ice_ethdev.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions
From: wenwu ma
When deleting 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 null pointer access.
Signed-off-by: wenwu ma
---
drivers/net/ice/ice_ethdev.c | 7 +--
1 file changed, 5 insertions(+
When deleting 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.
Signed-off-by: Wenwu Ma
---
drivers/net/ice/ice_ethdev.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-
4 matches
Mail list logo