|
@@ -1238,7 +1238,7 @@ static void htb_destroy_class(struct Qdisc *sch, struct htb_class *cl)
|
|
|
qdisc_put_rtab(cl->rate);
|
|
|
qdisc_put_rtab(cl->ceil);
|
|
|
|
|
|
- tcf_destroy_chain(cl->filter_list);
|
|
|
+ tcf_destroy_chain(&cl->filter_list);
|
|
|
|
|
|
while (!list_empty(&cl->children))
|
|
|
htb_destroy_class(sch, list_entry(cl->children.next,
|
|
@@ -1267,7 +1267,7 @@ static void htb_destroy(struct Qdisc *sch)
|
|
|
and surprisingly it worked in 2.4. But it must precede it
|
|
|
because filter need its target class alive to be able to call
|
|
|
unbind_filter on it (without Oops). */
|
|
|
- tcf_destroy_chain(q->filter_list);
|
|
|
+ tcf_destroy_chain(&q->filter_list);
|
|
|
|
|
|
while (!list_empty(&q->root))
|
|
|
htb_destroy_class(sch, list_entry(q->root.next,
|