]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Check if EOP has changed before using it
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 3 Jun 2011 03:53:24 +0000 (03:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 27 Aug 2011 06:31:09 +0000 (23:31 -0700)
commit840f1c72c23498a8c6cbac46a295cc6953d12b54
tree9fe0adc6cb1cef157878c35a11f75ca37fcdfc9b
parent1d9ce73ee0ec716a9255d033a0698d72687934de
ixgbevf: Check if EOP has changed before using it

There is a chance that between the time EOP is read and the time it is
used another transmit on a different CPU could have run and completed,
thus leaving EOP in a bad state.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c