diff options
Diffstat (limited to 'net/sched/sch_ingress.c')
-rw-r--r-- | net/sched/sch_ingress.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c index f63d5c6eb302..1fb60aba1e6c 100644 --- a/net/sched/sch_ingress.c +++ b/net/sched/sch_ingress.c | |||
@@ -346,14 +346,9 @@ static void ingress_reset(struct Qdisc *sch) | |||
346 | static void ingress_destroy(struct Qdisc *sch) | 346 | static void ingress_destroy(struct Qdisc *sch) |
347 | { | 347 | { |
348 | struct ingress_qdisc_data *p = PRIV(sch); | 348 | struct ingress_qdisc_data *p = PRIV(sch); |
349 | struct tcf_proto *tp; | ||
350 | 349 | ||
351 | DPRINTK("ingress_destroy(sch %p,[qdisc %p])\n", sch, p); | 350 | DPRINTK("ingress_destroy(sch %p,[qdisc %p])\n", sch, p); |
352 | while (p->filter_list) { | 351 | tcf_destroy_chain(p->filter_list); |
353 | tp = p->filter_list; | ||
354 | p->filter_list = tp->next; | ||
355 | tcf_destroy(tp); | ||
356 | } | ||
357 | #if 0 | 352 | #if 0 |
358 | /* for future use */ | 353 | /* for future use */ |
359 | qdisc_destroy(p->q); | 354 | qdisc_destroy(p->q); |