Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57439
b: refs/heads/master
c: b00b4bf
h: refs/heads/master
i:
  57437: c5fd582
  57435: 6e3d5d7
  57431: 86ea249
  57423: 2ca2766
  57407: 6b51bf8
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jun 7, 2007
1 parent aa4b509 commit af9b0bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7c355f532dd43036622e1880c114773463bafd23
refs/heads/master: b00b4bf94edb42852d55619af453588b2de2dc5e
1 change: 1 addition & 0 deletions trunk/net/sched/sch_atm.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ static void atm_tc_destroy(struct Qdisc *sch)
/* races ? */
while ((flow = p->flows)) {
tcf_destroy_chain(flow->filter_list);
flow->filter_list = NULL;
if (flow->ref > 1)
printk(KERN_ERR "atm_destroy: %p->ref = %d\n",flow,
flow->ref);
Expand Down
8 changes: 5 additions & 3 deletions trunk/net/sched/sch_cbq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1748,10 +1748,12 @@ cbq_destroy(struct Qdisc* sch)
* classes from root to leafs which means that filters can still
* be bound to classes which have been destroyed already. --TGR '04
*/
for (h = 0; h < 16; h++)
for (cl = q->classes[h]; cl; cl = cl->next)
for (h = 0; h < 16; h++) {
for (cl = q->classes[h]; cl; cl = cl->next) {
tcf_destroy_chain(cl->filter_list);

cl->filter_list = NULL;
}
}
for (h = 0; h < 16; h++) {
struct cbq_class *next;

Expand Down

0 comments on commit af9b0bd

Please sign in to comment.