aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorMark Rustad <[email protected]>2014-03-04 03:02:18 +0000
committerJeff Kirsher <[email protected]>2014-03-19 17:17:24 -0700
commit5b346dc97567270a5c0f02a390a1d1bb65237cea (patch)
tree10635e0e8d9bea0cc424213033ba3fdcfdf1ab72 /lib/cpu-notifier-error-inject.c
parent2e7cfbdde8412a95ea4b003a68c2737434f543bb (diff)
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 <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions