diff options
author | Eric Dumazet <edumazet@google.com> | 2013-10-07 21:50:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-08 22:32:41 +0200 |
commit | ede869cd0f45488195d56267d0c09ed511611d66 (patch) | |
tree | 9365ea826df48ca198449d4ccae183f08451fcd1 /net | |
parent | ipv6: Fix the upper MTU limit in GRE tunnel (diff) | |
download | linux-ede869cd0f45488195d56267d0c09ed511611d66.tar.xz linux-ede869cd0f45488195d56267d0c09ed511611d66.zip |
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>
Diffstat (limited to '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 a2fef8b10b96..48501a2baf75 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]); |