Mark Rustad c3049c8f25 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>
2014-01-14 18:59:17 -08:00
..
2013-10-29 12:53:07 +02:00
2013-11-07 19:24:20 +01:00
2013-12-12 11:05:19 -08:00
2013-12-08 18:47:25 -08:00
2013-12-11 10:56:21 -05:00
2014-01-13 14:29:49 -08:00
2013-11-15 14:05:15 -08:00
2013-12-06 15:22:05 -05:00
2013-12-10 08:48:15 +01:00
2013-12-20 09:34:54 -08:00