Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/ice: fix illegal access when removing MAC filter
[ upstream commit f4b6eb2 ] 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: e0dcf94 ("net/ice: support VLAN ops") Signed-off-by: Wenwu Ma <wenwux.ma@intel.com> Tested-by: Zhihong Peng <zhihongx.peng@intel.com> Acked-by: Qi Zhang <qi.z.zhang@intel.com>
- Loading branch information