Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117600
b: refs/heads/master
c: 23dd7bb
h: refs/heads/master
v: v3
  • Loading branch information
Arjan van de Ven committed Sep 6, 2008
1 parent c8344f0 commit 95952c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 76369470b7e5f97fc1a8af83c45b9ff739b08cb6
refs/heads/master: 23dd7bb09bd8d7efd8a602aed97b93d52f85e675
7 changes: 4 additions & 3 deletions trunk/net/sched/sch_cbq.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,10 @@ static void cbq_ovl_delay(struct cbq_class *cl)
expires = ktime_set(0, 0);
expires = ktime_add_ns(expires, PSCHED_US2NS(sched));
if (hrtimer_try_to_cancel(&q->delay_timer) &&
ktime_to_ns(ktime_sub(q->delay_timer.expires,
expires)) > 0)
q->delay_timer.expires = expires;
ktime_to_ns(ktime_sub(
hrtimer_get_expires(&q->delay_timer),
expires)) > 0)
hrtimer_set_expires(&q->delay_timer, expires);
hrtimer_restart(&q->delay_timer);
cl->delayed = 1;
cl->xstats.overactions++;
Expand Down

0 comments on commit 95952c9

Please sign in to comment.