forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
0e719e3a53
commit
ede869cd0f
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue
Block a user