]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Fix rcu warnings induced by LER
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 12 Mar 2014 00:38:45 +0000 (00:38 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 31 Mar 2014 22:48:03 +0000 (15:48 -0700)
commit9960fef2782f8d1761b1ad564a1fbc11de2b5c9d
tree85abedb87258ef964615a61ea661fcd5a719331c
parent4803d09990e19683627eb815f883d8d0610d5caa
ixgbevf: Fix rcu warnings induced by LER

Resolve some rcu warnings produced when LER actions take place.
This appears to be due to not holding the rtnl lock when calling
ixgbe_down, so hold the lock. Also avoid disabling the device
when it is already disabled. This check is necessary because the
callback can be called more than once in some cases.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c