patch-2.4.6 linux/drivers/net/shaper.c
Next file: linux/drivers/net/sis900.c
Previous file: linux/drivers/net/seeq8005.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Jun 27 17:10:55 2001
- Orig file:
v2.4.5/linux/drivers/net/shaper.c
- Orig date:
Wed Apr 18 14:40:06 2001
diff -u --recursive --new-file v2.4.5/linux/drivers/net/shaper.c linux/drivers/net/shaper.c
@@ -283,7 +283,7 @@
shaper->dev->name,newskb->priority);
dev_queue_xmit(newskb);
- shaper->stats.tx_bytes+=newskb->len;
+ shaper->stats.tx_bytes += skb->len;
shaper->stats.tx_packets++;
if(sh_debug)
@@ -682,6 +682,7 @@
#ifdef MODULE
MODULE_PARM(shapers, "i");
+MODULE_PARM_DESC(shapers, "Traffic shaper: maximum nuber of shapers");
#else /* MODULE */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)