]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:51:58 +0000 (23:51 +0800)
commit70ddbd79c4a4c1273b8346e29a05a6bcbcefdf23
treef9eb6bc53d5362e11a20e43538163bc48af05235
parent4407c6d0af1d4e5fcf2f731816e430e99830a500
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.

(cherry picked from commit 98b9e48fca11c8aa54b25c02d3329392b52db8ab)
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbevf/ixgbevf_main.c