diff options
author | Eric Dumazet <edumazet@google.com> | 2013-10-07 12:50:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-08 16:32:41 -0400 |
commit | ede869cd0f45488195d56267d0c09ed511611d66 (patch) | |
tree | 9365ea826df48ca198449d4ccae183f08451fcd1 | |
parent | 0e719e3a53cc03bc1bafbb2cae1ddf99a0d73ab0 (diff) | |
download | op-kernel-dev-ede869cd0f45488195d56267d0c09ed511611d66.zip op-kernel-dev-ede869cd0f45488195d56267d0c09ed511611d66.tar.gz |
pkt_sched: fq: fix typo for initial_quantum
TCA_FQ_INITIAL_QUANTUM should set q->initial_quantum
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/sched/sch_fq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_fq.c b/net/sched/sch_fq.c index a2fef8b..48501a2 100644 --- a/net/sched/sch_fq.c +++ b/net/sched/sch_fq.c @@ -656,7 +656,7 @@ static int fq_change(struct Qdisc *sch, struct nlattr *opt) q->quantum = nla_get_u32(tb[TCA_FQ_QUANTUM]); if (tb[TCA_FQ_INITIAL_QUANTUM]) - q->quantum = nla_get_u32(tb[TCA_FQ_INITIAL_QUANTUM]); + q->initial_quantum = nla_get_u32(tb[TCA_FQ_INITIAL_QUANTUM]); if (tb[TCA_FQ_FLOW_DEFAULT_RATE]) q->flow_default_rate = nla_get_u32(tb[TCA_FQ_FLOW_DEFAULT_RATE]); |