sky2: Avoid rewinding sky2->tx_prod
authorMike McCormack <mikem@ring3k.org>
Fri, 14 Aug 2009 05:15:12 +0000 (05:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Aug 2009 22:29:55 +0000 (15:29 -0700)
commit9b289c3374d2891aac6c12de58e49a16cfbcb6b1
tree78943955fe3f116c8d33577d2a77a9fd51ee7dfa
parenta8519de4a030d130e0d18147a2af3112b7951e0b
sky2: Avoid rewinding sky2->tx_prod

Keep sky2->tx_prod consistent since int might be examined by
an softirq poll or restart.

Signed-off-by: Mike McCormack <mikem@ring3k.org>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sky2.c