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:
068301f
)
sch_pie: schedule the timer after all init succeed
author
WANG Cong
<xiyou.wangcong@gmail.com>
Fri, 24 Oct 2014 23:55:58 +0000
(16:55 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 29 Oct 2014 18:28:01 +0000
(14:28 -0400)
Cc: Vijay Subramanian <vijaynsu@cisco.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Eric Dumazet <edumazet@google.com>
net/sched/sch_pie.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/sch_pie.c
b/net/sched/sch_pie.c
index 33d7a98a7a9799b3cb5b3ce62c9013c49483184c..b783a446d884d85af054c9a139f91a63a162bc9f 100644
(file)
--- a/
net/sched/sch_pie.c
+++ b/
net/sched/sch_pie.c
@@
-445,7
+445,6
@@
static int pie_init(struct Qdisc *sch, struct nlattr *opt)
sch->limit = q->params.limit;
setup_timer(&q->adapt_timer, pie_timer, (unsigned long)sch);
- mod_timer(&q->adapt_timer, jiffies + HZ / 2);
if (opt) {
int err = pie_change(sch, opt);
@@
-454,6
+453,7
@@
static int pie_init(struct Qdisc *sch, struct nlattr *opt)
return err;
}
+ mod_timer(&q->adapt_timer, jiffies + HZ / 2);
return 0;
}