Patrick McHardy wrote: > Szymon Miotk wrote: > >> This mail was posted 02-11-2004 to linux-net@vger.kernel.org, but I >> got no response at all, so I am resending it. >> >> [1.] One line summary of the problem: >> IProute hangs after running traffic shaping scripts > > > Can you test if this patch helps please ? It immediately removes all > inner qdiscs of classful qdiscs from dev->qdisc_list, making it > impossible for anyone to look up an inner qdisc that is about to get > destroyed. Taking qdisc_tree_lock in qdisc_lookup is not really > necessary with this patch anymore, since all changes to dev->qdisc_list > happen under the rtnl again (which is also relied on for memory). I put > it in anyways for now until I have fully analyzed locking. Please test this patch, the last one had a bug. > > Regards > Patrick >