]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
DM9000: fix interface hang under load
authorFlorian Westphal <fw@strlen.de>
Mon, 20 Aug 2007 23:33:42 +0000 (01:33 +0200)
committerJeff Garzik <jeff@garzik.org>
Sat, 25 Aug 2007 06:31:04 +0000 (02:31 -0400)
commitc46ac9463fbdee41723dd9fd108b2c1ffd30615f
treee1f4acf314fa85c259284dc729640b1fcb71dbea
parentbc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7
DM9000: fix interface hang under load

When transferring data at full speed, the DM9000 network interface
sometimes stops sending/receiving data. Worse, ksoftirqd consumes
100% cpu and the net tx watchdog never triggers.
Fix by spin_lock_irqsave() in dm9000_start_xmit() to prevent the
interrupt handler from interfering.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c