patch-2.1.31 linux/drivers/net/loopback.c
Next file: linux/drivers/net/ltpc.c
Previous file: linux/drivers/net/ibmtr.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Mar 31 12:52:30 1997
- Orig file:
v2.1.30/linux/drivers/net/loopback.c
- Orig date:
Sun Feb 2 05:18:40 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/net/loopback.c linux/drivers/net/loopback.c
@@ -93,7 +93,9 @@
skb->ip_summed = CHECKSUM_UNNECESSARY;
#endif
netif_rx(skb);
-
+
+ stats->rx_bytes+=skb->len;
+ stats->tx_bytes+=skb->len;
stats->rx_packets++;
stats->tx_packets++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov