patch-2.1.82 linux/drivers/net/tulip.c

Next file: linux/drivers/pci/Makefile
Previous file: linux/drivers/net/slhc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/drivers/net/tulip.c linux/drivers/net/tulip.c
@@ -1799,8 +1799,8 @@
 	if (entry == TX_RING_SIZE-1)
 		flag |= 0xe2000000;
 
-	tp->tx_ring[entry].length = skb->len | flag;
 	tp->stats.tx_bytes += skb->len;
+	tp->tx_ring[entry].length = skb->len | flag;
 	tp->tx_ring[entry].status = 0x80000000;	/* Pass ownership to the chip. */
 	tp->cur_tx++;
 	/* Trigger an immediate transmit demand. */

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