[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080702211402.GA2476@ami.dom.local>
Date: Wed, 2 Jul 2008 23:14:02 +0200
From: Jarek Poplawski <jarkao2@...il.com>
To: Patrick McHardy <kaber@...sh.net>
Cc: netdev@...r.kernel.org, devik@....cz
Subject: Re: net-sched 04/05: sch_htb: move hash and sibling list removal
to htb_delete
A tiny update below...
On Wed, Jul 02, 2008 at 12:11:06PM +0200, Patrick McHardy wrote:
...
> commit c5b52f74c6b35a570995472295a5dae9d3d3ca74
> Author: Patrick McHardy <kaber@...sh.net>
> Date: Wed Jul 2 12:10:36 2008 +0200
>
> net-sched: sch_htb: move hash and sibling list removal to htb_delete
>
> Hash list removal currently happens twice (once in htb_delete, once
> in htb_destroy_class), which makes it harder to use the dynamically
> sized class hash without adding special cases for HTB. The reason is
- that qdisc destruction destroys class in hierarchical order, which
+ that qdisc destruction destroys classes in hierarchical order, which
- is not necessary if filters are destroyed in a seperate iteration
+ is not necessary if filters are destroyed in a separate iteration
> during qdisc destruction.
>
> Adjust qdisc destruction to follow the same scheme as other hierarchical
> qdiscs by first performing a filter destruction pass, then destroying
> all classes in hash order.
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
I still think the patch is OK, but this one little compile warning
(which, I guess, you've seen already...):
net/sched/sch_htb.c: In function 'htb_destroy_class':
net/sched/sch_htb.c:1215: warning: unused variable 'q'
Jarek P.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists