From: Mark Rustad Date: Tue, 4 Mar 2014 03:02:18 +0000 (+0000) Subject: ixgbevf: Protect ixgbevf_down with __IXGBEVF_DOWN bit X-Git-Tag: v3.15-rc1~113^2~124^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b346dc97567270a5c0f02a390a1d1bb65237cea;p=pandora-kernel.git ixgbevf: Protect ixgbevf_down with __IXGBEVF_DOWN bit The ixgbevf_down function can now prevent multiple executions by doing test_and_set_bit on __IXGBEVF_DOWN. This did not work before introduction of the __IXGBEVF_REMOVING bit, because of overloading of __IXGBEVF_DOWN. Also add smp_mb__before_clear_bit call before clearing the __IXGBEVF_DOWN bit. Signed-off-by: Mark Rustad Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed