Subject: Re: PROBLEM: IProute hangs after running traffic shaping scripts

From: Patrick McHardy <[email-masked]>
Date: Wed, 10 Nov 2004 01:40:09 +0100

David S. Miller wrote:

>On Mon, 08 Nov 2004 20:46:18 +0100
>Patrick McHardy <[email-masked]> wrote:
>
>  
>
>>New patch attached.
>>    
>>
>
>How do these child qdiscs get destroyed at all if you just
>remove them from the lists they are on?  How will the rest
>of destroy processing find them and clean them up?
>
>  
>
The RCU-callback calls ops->destroy. The qdisc knows about it's inner
structure and destroys all classes and the inner qdiscs. dev->qdisc_list
is just a flat list containing all qdiscs of the tree for lookups.

Regards
Patrick