aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorJedrzej Jagielski <[email protected]>2022-01-14 13:19:31 +0000
committerTony Nguyen <[email protected]>2022-02-03 13:16:20 -0800
commit53a9e346e159f80313ff0b0c45b91cc3552cc690 (patch)
tree0fcc3c05e9131fe2a35a55ccd0dedf2362ff36dc /drivers/platform/surface/aggregator/ssh_parser.c
parentb3237df9e7c8a94ca266c533dd98c4c145e9b787 (diff)
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 <[email protected]> Signed-off-by: Jedrzej Jagielski <[email protected]> Tested-by: Gurucharan G <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions