Herbert Xu wrote: On Sat, Apr 16, 2005 at 01:06:39PM +0200, Thomas Graf wrote:qdisc_destroy can still be invoked without qdisc_tree_lock via the deletion of a class when it calls qdisc_destroy to destroy its leaf qdisc.Indeed. Fortuantely HTB seems to be safe as it calls sch_tree_lock which is another name for qdisc_tree_lock. CBQ on the other hand needs to have a little tweak. HTB also needs to be fixed. Destruction is usually defered by the refcnt until ->put(), htb_put() doesn't lock the tree. Same for HFSC and CBQ. Regards Patrick |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] netem: account for packets in delayed queue in qlen, Patrick McHardy |
|---|---|
| Next by Date: | Re: ACPI/HT or Packet Scheduler BUG?, Herbert Xu |
| Previous by Thread: | Re: ACPI/HT or Packet Scheduler BUG?, Herbert Xu |
| Next by Thread: | Re: ACPI/HT or Packet Scheduler BUG?, Herbert Xu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |