patch-2.1.31 linux/drivers/net/3c523.c
Next file: linux/drivers/net/8390.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Mon Mar 31 12:52:29 1997
-  Orig file: 
v2.1.30/linux/drivers/net/3c523.c
-  Orig date: 
Sun Feb  2 05:18:35 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/net/3c523.c linux/drivers/net/3c523.c
@@ -982,6 +982,7 @@
             skb->protocol=eth_type_trans(skb,dev);
             netif_rx(skb);
             p->stats.rx_packets++;
+            p->stats.rx_bytes+=totlen;
           } else {
             p->stats.rx_dropped++;
 		  }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov