From: Mark Rustad Date: Wed, 15 Jan 2014 02:53:12 +0000 (-0800) Subject: ixbge: Protect ixgbe_down with __IXGBE_DOWN bit X-Git-Tag: v3.14-rc1~94^2~176^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3049c8f25bc1f43c7b948a4dbaaae84b0483136;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Signed-off-by: Aaron Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed