Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next
[linux-2.6-microblaze.git] / net / sched / sch_hfsc.c
index 3278a76..b18ec1f 100644 (file)
@@ -1092,7 +1092,7 @@ hfsc_destroy_class(struct Qdisc *sch, struct hfsc_class *cl)
        struct hfsc_sched *q = qdisc_priv(sch);
 
        tcf_block_put(cl->block);
-       qdisc_destroy(cl->qdisc);
+       qdisc_put(cl->qdisc);
        gen_kill_estimator(&cl->rate_est);
        if (cl != &q->root)
                kfree(cl);