patch-2.1.31 linux/drivers/net/3c501.c

Next file: linux/drivers/net/3c507.c
Previous file: linux/drivers/isdn/isdn_common.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/drivers/net/3c501.c linux/drivers/net/3c501.c
@@ -714,6 +714,7 @@
 		skb->protocol=eth_type_trans(skb,dev);
 		netif_rx(skb);
 		lp->stats.rx_packets++;
+		lp->stats.rx_bytes+=pkt_len;
 	}
 	return;
 }

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