aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_sfq.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_sfq.c')
-rw-r--r--net/sched/sch_sfq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index b542c875e154..65293876cd66 100644
--- a/net/sched/sch_sfq.c
+++ b/net/sched/sch_sfq.c
@@ -426,9 +426,7 @@ static int sfq_init(struct Qdisc *sch, struct rtattr *opt)
426 struct sfq_sched_data *q = qdisc_priv(sch); 426 struct sfq_sched_data *q = qdisc_priv(sch);
427 int i; 427 int i;
428 428
429 init_timer(&q->perturb_timer); 429 setup_timer(&q->perturb_timer, sfq_perturbation, (unsigned long)sch);
430 q->perturb_timer.data = (unsigned long)sch;
431 q->perturb_timer.function = sfq_perturbation;
432 430
433 for (i=0; i<SFQ_HASH_DIVISOR; i++) 431 for (i=0; i<SFQ_HASH_DIVISOR; i++)
434 q->ht[i] = SFQ_DEPTH; 432 q->ht[i] = SFQ_DEPTH;