aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_tbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r--net/sched/sch_tbf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c
index 77edffe329c4..a4afde14e865 100644
--- a/net/sched/sch_tbf.c
+++ b/net/sched/sch_tbf.c
@@ -268,7 +268,8 @@ static struct sk_buff *tbf_dequeue(struct Qdisc *sch)
268 } 268 }
269 269
270 qdisc_watchdog_schedule_ns(&q->watchdog, 270 qdisc_watchdog_schedule_ns(&q->watchdog,
271 now + max_t(long, -toks, -ptoks)); 271 now + max_t(long, -toks, -ptoks),
272 true);
272 273
273 /* Maybe we have a shorter packet in the queue, 274 /* Maybe we have a shorter packet in the queue,
274 which can be sent now. It sounds cool, 275 which can be sent now. It sounds cool,