patch-2.3.47 linux/drivers/net/via-rhine.c

Next file: linux/drivers/net/wan/cycx_x25.c
Previous file: linux/drivers/net/tulip.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.46/linux/drivers/net/via-rhine.c linux/drivers/net/via-rhine.c
@@ -869,7 +869,7 @@
 			np->tx_skbuff[entry] = 0;
 		}
 		if (np->tx_full &&
-		    test_bit(LINK_STATE_XOFF, &dev->flags) &&
+		    netif_queue_stopped(dev) &&
 		    np->cur_tx - np->dirty_tx < TX_RING_SIZE - 4) {
 			/* The ring is no longer full, clear tbusy. */
 			np->tx_full = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)