]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/sch_sfq.c
ext4: start searching for the right extent from the goal group.
[linux-2.6-omap-h63xx.git] / net / sched / sch_sfq.c
index a20e2ef7704beb4142dc3ee75d67604bffa10a10..6a97afbfb95245cc019f371606f36884e4e63b25 100644 (file)
@@ -520,8 +520,9 @@ static void sfq_destroy(struct Qdisc *sch)
 {
        struct sfq_sched_data *q = qdisc_priv(sch);
 
-       tcf_destroy_chain(q->filter_list);
-       del_timer(&q->perturb_timer);
+       tcf_destroy_chain(&q->filter_list);
+       q->perturb_period = 0;
+       del_timer_sync(&q->perturb_timer);
 }
 
 static int sfq_dump(struct Qdisc *sch, struct sk_buff *skb)