patch-2.4.10 linux/net/sched/sch_tbf.c
Next file: linux/net/socket.c
Previous file: linux/net/rose/af_rose.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 10 07:59:25 2001
- Orig file:
v2.4.9/linux/net/sched/sch_tbf.c
- Orig date:
Mon Aug 27 12:41:50 2001
diff -u --recursive --new-file v2.4.9/linux/net/sched/sch_tbf.c linux/net/sched/sch_tbf.c
@@ -227,7 +227,7 @@
}
if (!netif_queue_stopped(sch->dev)) {
- long delay = PSCHED_US2JIFFIE(max(long, -toks, -ptoks));
+ long delay = PSCHED_US2JIFFIE(max_t(long, -toks, -ptoks));
if (delay == 0)
delay = 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)