projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e719e3
)
pkt_sched: fq: fix typo for initial_quantum
author
Eric Dumazet
<edumazet@google.com>
Mon, 7 Oct 2013 19:50:18 +0000
(12:50 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 8 Oct 2013 20:32:41 +0000
(16:32 -0400)
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>
net/sched/sch_fq.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_fq.c
b/net/sched/sch_fq.c
index a2fef8b10b960c15d29556b7dc832737c848b3b6..48501a2baf75ed050a2c7da081d458c39f116f60 100644
(file)
--- 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]);