diff options
author | David S. Miller <davem@davemloft.net> | 2012-04-23 23:14:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-23 23:15:17 -0400 |
commit | f24001941c99776f41bd3f09c07d91205c2ad9d4 (patch) | |
tree | 0ab31480ccdf343b61db045e195d096068ef7c73 /net/sched | |
parent | a108d5f35adc5c5d5cdc882dc0bb920565551bff (diff) | |
parent | 4d634ca35a8b38530b134ae92bc9e3cc9c23c030 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Fix merge between commit 3adadc08cc1e ("net ax25: Reorder ax25_exit to
remove races") and commit 0ca7a4c87d27 ("net ax25: Simplify and
cleanup the ax25 sysctl handling")
The former moved around the sysctl register/unregister calls, the
later simply removed them.
With help from Stephen Rothwell.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_gred.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index 55e3310edc94..ab620bf90785 100644 --- a/net/sched/sch_gred.c +++ b/net/sched/sch_gred.c | |||
@@ -567,11 +567,8 @@ static int gred_dump(struct Qdisc *sch, struct sk_buff *skb) | |||
567 | opt.packets = q->packetsin; | 567 | opt.packets = q->packetsin; |
568 | opt.bytesin = q->bytesin; | 568 | opt.bytesin = q->bytesin; |
569 | 569 | ||
570 | if (gred_wred_mode(table)) { | 570 | if (gred_wred_mode(table)) |
571 | q->vars.qidlestart = | 571 | gred_load_wred_set(table, q); |
572 | table->tab[table->def]->vars.qidlestart; | ||
573 | q->vars.qavg = table->tab[table->def]->vars.qavg; | ||
574 | } | ||
575 | 572 | ||
576 | opt.qave = red_calc_qavg(&q->parms, &q->vars, q->vars.qavg); | 573 | opt.qave = red_calc_qavg(&q->parms, &q->vars, q->vars.qavg); |
577 | 574 | ||