aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r--net/sched/sch_htb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 2cef8f34b2cb..0284791169c9 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -1236,7 +1236,7 @@ static void htb_destroy_class(struct Qdisc *sch, struct htb_class *cl)
1236 qdisc_put_rtab(cl->rate); 1236 qdisc_put_rtab(cl->rate);
1237 qdisc_put_rtab(cl->ceil); 1237 qdisc_put_rtab(cl->ceil);
1238 1238
1239 tcf_destroy_chain(cl->filter_list); 1239 tcf_destroy_chain(&cl->filter_list);
1240 1240
1241 while (!list_empty(&cl->children)) 1241 while (!list_empty(&cl->children))
1242 htb_destroy_class(sch, list_entry(cl->children.next, 1242 htb_destroy_class(sch, list_entry(cl->children.next,
@@ -1265,7 +1265,7 @@ static void htb_destroy(struct Qdisc *sch)
1265 and surprisingly it worked in 2.4. But it must precede it 1265 and surprisingly it worked in 2.4. But it must precede it
1266 because filter need its target class alive to be able to call 1266 because filter need its target class alive to be able to call
1267 unbind_filter on it (without Oops). */ 1267 unbind_filter on it (without Oops). */
1268 tcf_destroy_chain(q->filter_list); 1268 tcf_destroy_chain(&q->filter_list);
1269 1269
1270 while (!list_empty(&q->root)) 1270 while (!list_empty(&q->root))
1271 htb_destroy_class(sch, list_entry(q->root.next, 1271 htb_destroy_class(sch, list_entry(q->root.next,