]> git.hungrycats.org Git - linux/commit
[PATCH] 8139too: be sure to progress during rtl8139_rx()
authorAndrew Morton <akpm@osdl.org>
Tue, 24 Aug 2004 19:34:10 +0000 (15:34 -0400)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 24 Aug 2004 19:34:10 +0000 (15:34 -0400)
commit15e14b1f65176e8873134056914b281551716efa
tree3f862bbdd92f2d1d64b6fbe75a314225f4f9a88e
parent4f3cf06df28794b3e28191a61c5b7efa4c2f65c2
[PATCH] 8139too: be sure to progress during rtl8139_rx()

From: Francois Romieu <romieu@fr.zoreil.com>

If the Rx buffer gets corrupted or the FIFO hangs in new interesting ways,
this code prevents the driver from looping in ksoftirqd context without
making any progress.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/net/8139too.c