summaryrefslogtreecommitdiff
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-11-30 04:36:43 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 08:31:44 +0300
commitf973b913e18ab5a4795738ddf8a8666ac306ee12 (patch)
tree6162ce2896e1a7139f019c09dc37f09d213a211b /net/sched/sch_htb.c
parent5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6 (diff)
downloadlinux-f973b913e18ab5a4795738ddf8a8666ac306ee12.tar.xz
[NET_SCHED]: Fix endless loops (part 3): HFSC
Convert HFSC to use qdisc_tree_decrease_len() and add a callback for deactivating a class when its child queue becomes empty. All queue purging goes through hfsc_purge_queue(), which is used in three cases: grafting, class creation (when a leaf class is turned into an intermediate class by attaching a new class) and class deletion. In all cases qdisc_tree_decrease_len() is needed. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_htb.c')
0 files changed, 0 insertions, 0 deletions