aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJedrzej Jagielski <jedrzej.jagielski@intel.com>2022-01-14 13:19:31 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2022-02-03 13:16:20 -0800
commit53a9e346e159f80313ff0b0c45b91cc3552cc690 (patch)
tree0fcc3c05e9131fe2a35a55ccd0dedf2362ff36dc /include/linux
parenti40e: Add new version of i40e_aq_add_macvlan function (diff)
downloadlinux-dev-53a9e346e159f80313ff0b0c45b91cc3552cc690.tar.xz
linux-dev-53a9e346e159f80313ff0b0c45b91cc3552cc690.zip
i40e: Fix race condition while adding/deleting MAC/VLAN filters
There was a race condition in access to hw->aq.asq_last_status while adding and deleting MAC/VLAN filters causing incorrect error status to be printed as ERROR OK instead of the correct error. Change calls to i40e_aq_add_macvlan in i40e_aqc_add_filters and i40e_aq_remove_macvlan in i40e_aqc_del_filters to _v2 versions that return Admin Queue status on the stack to avoid race conditions in access to hw->aq.asq_last_status. Signed-off-by: Sylwester Dziedziuch <sylwesterx.dziedziuch@intel.com> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski@intel.com> Tested-by: Gurucharan G <gurucharanx.g@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions