]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix hang when ethtool disables FW LLDP
authorDave Ertman <david.m.ertman@intel.com>
Tue, 16 Apr 2019 17:24:29 +0000 (10:24 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 23 May 2019 17:51:53 +0000 (10:51 -0700)
commit07b7a07c34f9f4c30ccf753581bf8884ad17fd38
tree83311eff5533150fc15e91cdcb3cd6b86faf831b
parent9071d7d68478b45e6d7906799ee4e1218e6ebe4c
ice: Fix hang when ethtool disables FW LLDP

When disabling and enabling VSIs, there are a couple of flows
that recursively acquire the RTNL lock which causes a deadlock.
Fix that.

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>
drivers/net/ethernet/intel/ice/ice_dcb_lib.c
drivers/net/ethernet/intel/ice/ice_dcb_lib.h
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_main.c