patch-2.4.25 linux-2.4.25/net/sched/sch_dsmark.c
Next file: linux-2.4.25/net/sched/sch_fifo.c
Previous file: linux-2.4.25/net/sched/sch_csz.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_dsmark.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.24/net/sched/sch_dsmark.c linux-2.4.25/net/sched/sch_dsmark.c
@@ -77,6 +77,7 @@
*old = xchg(&p->q,new);
if (*old)
qdisc_reset(*old);
+ sch->q.qlen = 0;
sch_tree_unlock(sch); /* @@@ move up ? */
return 0;
}
@@ -377,7 +378,7 @@
while (p->filter_list) {
tp = p->filter_list;
p->filter_list = tp->next;
- tp->ops->destroy(tp);
+ tcf_destroy(tp);
}
qdisc_destroy(p->q);
p->q = &noop_qdisc;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)