diff options
-rw-r--r-- | net/sched/sch_sfq.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c index c58fa6efc7a2..ba3a85e29b21 100644 --- a/net/sched/sch_sfq.c +++ b/net/sched/sch_sfq.c | |||
@@ -426,7 +426,9 @@ 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 | setup_timer(&q->perturb_timer, sfq_perturbation, (unsigned long)sch); | 429 | q->perturb_timer.function = sfq_perturbation; |
430 | q->perturb_timer.data = (unsigned long)sch;; | ||
431 | init_timer_deferrable(&q->perturb_timer); | ||
430 | 432 | ||
431 | for (i=0; i<SFQ_HASH_DIVISOR; i++) | 433 | for (i=0; i<SFQ_HASH_DIVISOR; i++) |
432 | q->ht[i] = SFQ_DEPTH; | 434 | q->ht[i] = SFQ_DEPTH; |