patch-2.1.38 linux/drivers/net/sunhme.c
Next file: linux/drivers/net/sunlance.c
Previous file: linux/drivers/char/mem.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Wed May 14 15:01:21 1997
- Orig file:
v2.1.37/linux/drivers/net/sunhme.c
- Orig date:
Tue May 13 22:41:12 1997
diff -u --recursive --new-file v2.1.37/linux/drivers/net/sunhme.c linux/drivers/net/sunhme.c
@@ -1673,6 +1673,7 @@
netif_rx(skb);
hp->net_stats.rx_packets++;
+ hp->net_stats.rx_bytes+=len;
next:
elem = NEXT_RX(elem);
this = &rxbase[elem];
@@ -1729,6 +1730,7 @@
skb->protocol = eth_type_trans(skb, dev);
netif_rx(skb);
hp->net_stats.rx_packets++;
+ hp->net_stats.rx_bytes+=len;
}
}
/* Return the buffer to the Happy Meal. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov