aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-06 02:08:07 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-06 02:08:07 -0400
commitea2aca084ba82aaf7c148d04914ceed8758ce08a (patch)
treedcb3f4f849cf48deac2dd3bafd5c2cd2f0e7dc79 /net/sched/sch_htb.c
parentf3032be921cd126615ce3bfd7084e3d319f3f892 (diff)
parentc5a78ac00c400df29645e59938700301efb371d0 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: Documentation/feature-removal-schedule.txt drivers/net/wan/hdlc_fr.c drivers/net/wireless/iwlwifi/iwl-4965.c drivers/net/wireless/iwlwifi/iwl3945-base.c
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,