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

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