patch-2.1.130 linux/drivers/net/atp.c

Next file: linux/drivers/net/depca.c
Previous file: linux/drivers/net/at1700.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.129/linux/drivers/net/atp.c linux/drivers/net/atp.c
@@ -556,7 +556,7 @@
 			}
 			num_tx_since_rx++;
 		} else if (num_tx_since_rx > 8
-				   && jiffies > dev->last_rx + 100) {
+				   && jiffies - dev->last_rx > 100) {
 			if (net_debug > 2)
 				printk("%s: Missed packet? No Rx after %d Tx and %ld jiffies"
 					   " status %02x  CMR1 %02x.\n", dev->name,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov