]> err.no Git - linux-2.6/commit
sky2: status ring race fix
authorStephen Hemminger <shemminger@linux-foundation.org>
Mon, 5 Nov 2007 23:52:09 +0000 (15:52 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 10 Nov 2007 09:25:08 +0000 (04:25 -0500)
commitab5adecb2d02f3688719dfb5936a82833fcc3955
treed76a14137b6b86a8e4500a6c03cb4201af975bd5
parentac93a3946b676025fa55356180e8321639744b31
sky2: status ring race fix

The D-Link PCI-X board (and maybe others) can lie about status
ring entries. It seems it will update the register for last status
index before completing the DMA for the ring entry. To avoid reading
stale data, zap the old entry and check.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sky2.c