summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/chelsio/cxgb4/l2t.c
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2018-05-22 19:18:46 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-06-04 20:19:32 +0300
commit7d6446db1bcb1008b84db098f4629664cd8b06a6 (patch)
tree7ac89d5e52431bf1392d9d146c2f92c330ed826b /drivers/net/ethernet/chelsio/cxgb4/l2t.c
parent4be87727d4aebe36913d9f2a6806724cb593516f (diff)
downloadlinux-7d6446db1bcb1008b84db098f4629664cd8b06a6.tar.xz
ixgbevf: fix possible race in the reset subtask
Extend the RTNL lock in ixgbevf_reset_subtask() to protect the state bits check in addition to the call to ixgbevf_reinit_locked(). This is to make sure that we get the most up-to-date values for the bits and avoid a possible race when going down. Suggested-by: Zhiping du <zhipingdu@tencent.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/l2t.c')
0 files changed, 0 insertions, 0 deletions