Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 122437
b: refs/heads/master
c: 4164d66
h: refs/heads/master
i:
  122435: 437862d
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Dec 4, 2008
1 parent 5f23491 commit c9710e0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: cb52deba12f27af90a46d2f8667a64888118a888
refs/heads/master: 4164d661b8c9602fbbf651a33377d2c51f68c451
5 changes: 2 additions & 3 deletions trunk/net/sched/sch_htb.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ struct htb_class {
struct htb_class_leaf {
struct Qdisc *q;
int prio;
int aprio;
int quantum;
int deficit[TC_HTB_MAXDEPTH];
struct list_head drop_list;
Expand Down Expand Up @@ -527,10 +526,10 @@ static inline void htb_activate(struct htb_sched *q, struct htb_class *cl)
WARN_ON(cl->level || !cl->un.leaf.q || !cl->un.leaf.q->q.qlen);

if (!cl->prio_activity) {
cl->prio_activity = 1 << (cl->un.leaf.aprio = cl->un.leaf.prio);
cl->prio_activity = 1 << cl->un.leaf.prio;
htb_activate_prios(q, cl);
list_add_tail(&cl->un.leaf.drop_list,
q->drops + cl->un.leaf.aprio);
q->drops + cl->un.leaf.prio);
}
}

Expand Down

0 comments on commit c9710e0

Please sign in to comment.