diff options
author | Mark Rustad <mark.d.rustad@intel.com> | 2014-01-15 06:53:12 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-15 06:59:17 +0400 |
commit | c3049c8f25bc1f43c7b948a4dbaaae84b0483136 (patch) | |
tree | 1a942ab2736a62e745faa8943848b149e1d4e841 /drivers/net/ethernet/intel/e100.c | |
parent | 09f40aeddd77ad07093516b267ae7b4aebcc57bb (diff) | |
download | linux-c3049c8f25bc1f43c7b948a4dbaaae84b0483136.tar.xz |
ixbge: Protect ixgbe_down with __IXGBE_DOWN bit
The ixgbe_down function can now prevent multiple executions by
doing test_and_set_bit on __IXGBE_DOWN. This did not work before
introduction of the __IXGBE_REMOVING bit, because of overloading
of __IXGBE_DOWN. Also add smp_mb__before_clear_bit call before
clearing the __IXGBE_DOWN bit.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/e100.c')
0 files changed, 0 insertions, 0 deletions