diff options
author | Dave Ertman <david.m.ertman@intel.com> | 2018-10-26 10:41:04 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-11-13 09:09:26 -0800 |
commit | d09e2693b689cc82cd9bae0c4f19f5122708f83e (patch) | |
tree | b364e7dd7c2ed13919fbf24fbc40e34512c34a86 /drivers/reset/reset-simple.h | |
parent | 995c90f2de819b020bdb0758ea4d486b0851e11a (diff) |
ice: Avoid nested RTNL locking in ice_dis_vsi
ice_dis_vsi() performs an rtnl_lock() if it detects a netdev that is
running on the VSI. In cases where the RTNL lock has already been
acquired, a deadlock results. Add a boolean to pass to ice_dis_vsi to
tell it if the RTNL lock is already held.
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/reset/reset-simple.h')
0 files changed, 0 insertions, 0 deletions