[NET_SCHED]: Fix endless loops (part 2): "simple" qdiscs
authorPatrick McHardy <kaber@trash.net>
Thu, 30 Nov 2006 01:36:20 +0000 (17:36 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:43 +0000 (21:31 -0800)
commit5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6
tree6f2205ceae40a7fd5b498e94c60b65140740a027
parent43effa1e57fc4635e0301b27d78f9d83afe78974
[NET_SCHED]: Fix endless loops (part 2): "simple" qdiscs

Convert the "simple" qdiscs to use qdisc_tree_decrease_qlen() where
necessary:

- all graft operations
- destruction of old child qdiscs in prio, red and tbf change operation
- purging of queue in sfq change operation

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c
net/sched/sch_dsmark.c
net/sched/sch_netem.c
net/sched/sch_prio.c
net/sched/sch_red.c
net/sched/sch_sfq.c
net/sched/sch_tbf.c