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)
commit98b9e48fca11c8aa54b25c02d3329392b52db8ab
tree9fe0adc6cb1cef157878c35a11f75ca37fcdfc9b
parentdc221294719ae0f28cc260cc37edd439161088a9
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