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

Next file: linux/drivers/sbus/char/bwtwo.c
Previous file: linux/drivers/net/tlan.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/drivers/net/tulip.c linux/drivers/net/tulip.c
@@ -1078,6 +1078,7 @@
 			skb->protocol = eth_type_trans(skb,dev);
 			netif_rx(skb);
 			lp->stats.rx_packets++;
+			lp->stats.rx_bytes+=skb->len;
 		}
 
 		lp->rx_ring[entry].status = TRING_OWN;

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