patch-2.4.21 linux-2.4.21/net/sched/sch_prio.c
Next file: linux-2.4.21/net/sched/sch_sfq.c
Previous file: linux-2.4.21/net/sched/sch_htb.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
2003-06-13 07:51:39.000000000 -0700
- Orig file:
linux-2.4.20/net/sched/sch_prio.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.20/net/sched/sch_prio.c linux-2.4.21/net/sched/sch_prio.c
@@ -158,6 +158,12 @@
{
int prio;
struct prio_sched_data *q = (struct prio_sched_data *)sch->data;
+ struct tcf_proto *tp;
+
+ while ((tp = q->filter_list) != NULL) {
+ q->filter_list = tp->next;
+ tp->ops->destroy(tp);
+ }
for (prio=0; prio<q->bands; prio++) {
qdisc_destroy(q->queues[prio]);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)