Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 129723
b: refs/heads/master
c: c085134
h: refs/heads/master
i:
  129721: 68a0115
  129719: 987e1ac
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Jan 13, 2009
1 parent 37f14ac commit 8aa420c
Show file tree
Hide file tree
Showing 2 changed files with 4 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: daaf83d2b9277928739f3eb7ea64f49c1254fd62
refs/heads/master: c08513471911cf33cb50249a7ff12848374f7263
6 changes: 3 additions & 3 deletions trunk/net/sched/sch_htb.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,8 +685,8 @@ static psched_time_t htb_do_events(struct htb_sched *q, int level)
if (cl->cmode != HTB_CAN_SEND)
htb_add_to_wait_tree(q, cl, diff);
}
/* too much load - let's continue on next jiffie */
return q->now + PSCHED_TICKS_PER_SEC / HZ;
/* too much load - let's continue on next jiffie (including above) */
return q->now + 2 * PSCHED_TICKS_PER_SEC / HZ;
}

/* Returns class->node+prio from id-tree where classe's id is >= id. NULL
Expand Down Expand Up @@ -873,7 +873,7 @@ static struct sk_buff *htb_dequeue(struct Qdisc *sch)
} else
event = q->near_ev_cache[level];

if (event && next_event > event)
if (next_event > event)
next_event = event;

m = ~q->row_mask[level];
Expand Down

0 comments on commit 8aa420c

Please sign in to comment.