patch-2.4.25 linux-2.4.25/net/sched/sch_cbq.c
Next file: linux-2.4.25/net/sched/sch_csz.c
Previous file: linux-2.4.25/net/sched/sch_atm.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
2004-02-18 05:36:32.000000000 -0800
- Orig file:
linux-2.4.24/net/sched/sch_cbq.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.24/net/sched/sch_cbq.c linux-2.4.25/net/sched/sch_cbq.c
@@ -1673,6 +1673,7 @@
sch_tree_lock(sch);
*old = cl->q;
cl->q = new;
+ sch->q.qlen -= (*old)->q.qlen;
qdisc_reset(*old);
sch_tree_unlock(sch);
@@ -1707,7 +1708,7 @@
while ((tp = cl->filter_list) != NULL) {
cl->filter_list = tp->next;
- tp->ops->destroy(tp);
+ tcf_destroy(tp);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)