| To: | Thomas Graf <tgraf@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] PKT_SCHED: Initialize list field in dummy qdiscs |
| From: | Patrick McHardy <kaber@xxxxxxxxx> |
| Date: | Fri, 05 Nov 2004 19:18:54 +0100 |
| Cc: | davem@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx, spam@xxxxxxxxxxxxx, kuznet@xxxxxxxxxxxxx, jmorris@xxxxxxxxxx |
| In-reply-to: | <20041105175812.GZ12289@postel.suug.ch> |
| References: | <418B4C7C.8000402@crocom.com.pl> <20041105115430.GP19714@rei.reeler.org> <418B4C7C.8000402@crocom.com.pl> <20041105141640.GQ19714@rei.reeler.org> <418BA66A.60804@trash.net> <20041105163951.GY12289@postel.suug.ch> <418BB7D2.6060908@trash.net> <20041105175812.GZ12289@postel.suug.ch> |
| 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 |
Thomas Graf wrote: * Patrick McHardy <418BB7D2.6060908@xxxxxxxxx> 2004-11-05 18:26 Yes, but there doesn't seem to be a path where this is true. I'm not sure but aren't all callers to qdisc_destroy holding __qdisc_destroy is called from a rcu-callback, not directly from qdisc_destroy. Either refcnt them or add add some kind of flag to qdiscs created No, your patch looks fine. Regards Patrick The patch below prevents builtin qdiscs from being destroyed and fixes a refcnt underflow whould lead to a bogus list unlinking and dev_put. |
| Previous by Date: | [PATCH 2.6 PKT_SCHED]: Fix rcu_assign_pointer fallout, use it in the right place, Patrick McHardy |
|---|---|
| Next by Date: | [PATCH 2.4]: Don't try to destroy builtin qdiscs, Patrick McHardy |
| Previous by Thread: | Re: [PATCH] PKT_SCHED: Initialize list field in dummy qdiscs, Thomas Graf |
| Next by Thread: | Re: [PATCH] PKT_SCHED: Initialize list field in dummy qdiscs, Thomas Graf |
| Indexes: | [Date] [Thread] [Top] [All Lists] |