patch-2.1.112 linux/drivers/net/sk_g16.c
Next file: linux/drivers/net/sonic.c
Previous file: linux/drivers/net/seeq8005.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Jul 26 23:35:56 1998
- Orig file:
v2.1.111/linux/drivers/net/sk_g16.c
- Orig date:
Tue Jul 21 00:15:31 1998
diff -u --recursive --new-file v2.1.111/linux/drivers/net/sk_g16.c linux/drivers/net/sk_g16.c
@@ -1250,6 +1250,8 @@
*/
dev->tbusy = 0;
}
+
+ p->stats.tx_bytes += skb->len;
}
dev_kfree_skb(skb);
return 0;
@@ -1585,6 +1587,7 @@
writeb(RX_OWN, rmdp->u.s.status);
p->stats.rx_packets++;
+ p->stats.rx_bytes += len;
p->rmdnum++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov