Re: [NET_SCHED 04/06]: Fix endless loops (part 2): "simple" qdiscs
From: Jarek Poplawski <hidden>
Date: 2006-11-24 13:30:52
On Fri, Nov 24, 2006 at 02:07:08PM +0100, Patrick McHardy wrote:
Jarek Poplawski wrote:
...
quoted
Probably it is as usual something with my eyes but it seems cbq needs in cbq_delete or cbq_destroy_class some treatment (about qdisc_destroy) similar to htb.No, you're right about this one, CBQ needs a few further fixes: - deactivating of active classes when grafting - purging of queue/q.qlen adjustment when deleting an active class - deactivating of active classes when q.qlen drops to zero in ->drop() - purging of queue and deactivating of active leaf classes when attaching a new child (presuming CBQ can only carry packets in leaf classes, I'm not sure about this) and something HTB should do is to turn intermediate classes into leaves again when their last child is deleted. Are you interested in fixing this? :)
Maybe someday I'll be capable enough! It looks complicated enough to have some fun. At present I don't even know how to use it... But I think, you are just in the subject, so it would be at least one point less for the future. Jarek P.