Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299537
b: refs/heads/master
c: 244b65d
h: refs/heads/master
i:
  299535: a4aa117
v: v3
  • Loading branch information
David Ward authored and David S. Miller committed Apr 17, 2012
1 parent 72b083f commit 986ab7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: a49bcabedc18319f673319d5e71b5751e3978179
refs/heads/master: 244b65dbfede788f2fa3fe2463c44d0809e97c6b
7 changes: 2 additions & 5 deletions trunk/net/sched/sch_gred.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,8 @@ static int gred_dump(struct Qdisc *sch, struct sk_buff *skb)
opt.packets = q->packetsin;
opt.bytesin = q->bytesin;

if (gred_wred_mode(table)) {
q->vars.qidlestart =
table->tab[table->def]->vars.qidlestart;
q->vars.qavg = table->tab[table->def]->vars.qavg;
}
if (gred_wred_mode(table))
gred_load_wred_set(table, q);

opt.qave = red_calc_qavg(&q->parms, &q->vars, q->vars.qavg);

Expand Down

0 comments on commit 986ab7f

Please sign in to comment.