]> err.no Git - linux-2.6/commit
sky2: fix suspend/resume races
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 2 Apr 2008 16:03:23 +0000 (09:03 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 2 Apr 2008 16:33:53 +0000 (09:33 -0700)
commit063a0b38a7e4ade79f00314c473d3c41a2c7eecf
treeec3e97f8a213864ecce8c167bdaa428f094b2be2
parent49115b7cb1483a14c557666b61fe81d3c23780d6
sky2: fix suspend/resume races

There are a couple of possible races on suspend/resume.
First the driver needs to block new packets from being queued for Tx.
The other less likely problem is the watchdog timer going off
during resume.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/sky2.c