[NET_SCHED]: Fix endless loops (part 4): HTB
commit256d61b87b2c2ac6fc333c1654d1abea61979006
authorPatrick McHardy <kaber@trash.net>
Thu, 30 Nov 2006 01:37:05 +0000 (29 17:37 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:45 +0000 (2 21:31 -0800)
tree6c84f11bfc4e3179eabb21d445fe9252c5fc1b76
parentf973b913e18ab5a4795738ddf8a8666ac306ee12
[NET_SCHED]: Fix endless loops (part 4): HTB

Convert HTB to use qdisc_tree_decrease_len() and add a callback
for deactivating a class when its child queue becomes empty.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_htb.c