[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1207922127.4419.85.camel@localhost>
Date: Fri, 11 Apr 2008 09:55:27 -0400
From: jamal <hadi@...erus.ca>
To: Jarek Poplawski <jarkao2@...il.com>
Cc: Patrick McHardy <kaber@...sh.net>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH take2][NET_SCHED] cls_u32: refcounting fix for
u32_delete()
On Fri, 2008-11-04 at 13:48 +0000, Jarek Poplawski wrote:
> On Fri, Apr 11, 2008 at 03:22:51PM +0200, Patrick McHardy wrote:
> ...
> > I'd suggest to behave similar to qdiscs when trying to
> > removing classes that are still referenced, return -EBUSY.
>
> Of course you are right!
>
> Jarek P.
>
> -------------------> (take 2)
>
> [NET_SCHED] cls_u32: refcounting fix for u32_delete()
>
> Deleting of nonroot hnodes mostly doesn't work in u32_delete():
> refcnt == 1 is expected, but such hnodes' refcnts are initialized
> with 0 and charged only with "link" nodes. Now they'll start with
> 1 like usual. Thanks to Patrick McHardy for an improving suggestion.
>
>
> Signed-off-by: Jarek Poplawski <jarkao2@...il.com>
> Cc: Jamal Hadi Salim <hadi@...erus.ca>
Thanks as always Jarek.
Acked-by: Jamal Hadi Salim <hadi@...erus.ca>
cheers,
jamal
--
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