netdev
[Top] [All Lists]

Re: PROBLEM: IProute hangs after running traffic shaping scripts

To: "David S. Miller" <davem@xxxxxxxxxxxxx>
Subject: Re: PROBLEM: IProute hangs after running traffic shaping scripts
From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Wed, 10 Nov 2004 01:40:09 +0100
Cc: tgraf@xxxxxxx, spam@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20041109161816.425ad7d6.davem@xxxxxxxxxxxxx>
References: <418B4C7C.8000402@xxxxxxxxxxxxx> <418EA032.7050507@xxxxxxxxx> <418ECE85.9090203@xxxxxxxxx> <20041108135431.GE31969@xxxxxxxxxxxxxx> <418F9AD0.1040701@xxxxxxxxx> <20041108183300.GF31969@xxxxxxxxxxxxxx> <418FCD0A.4040202@xxxxxxxxx> <20041109161816.425ad7d6.davem@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.3) Gecko/20041008 Debian/1.7.3-5
David S. Miller wrote:

On Mon, 08 Nov 2004 20:46:18 +0100
Patrick McHardy <kaber@xxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>