Date: Mon, 29 Aug 2005 10:40:40 +0400 From: Gleb Smirnoff <glebius@FreeBSD.org> To: "Daniel O'Connor" <doconnor@gsoft.com.au> Cc: freebsd-net@FreeBSD.org, Julian Elischer <julian@elischer.org> Subject: Re: AltQ + ng_iface Message-ID: <20050829064040.GB48425@cell.sick.ru> In-Reply-To: <200508291449.15427.doconnor@gsoft.com.au> References: <200507290834.10268.doconnor@gsoft.com.au> <42EBD738.2010105@elischer.org> <200507312253.29038.doconnor@gsoft.com.au> <200508291449.15427.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 29, 2005 at 02:49:14PM +0930, Daniel O'Connor wrote: D> On Sunday 31 July 2005 22:53, Daniel O'Connor wrote: D> > > The calling code must always have a reference on the node to ensure that D> > > it is not removed while it is running in it. This is sometimes D> > > done automatically. This is why there is an ng_callout facility to ensure D> > > that the locking andreferences are done automatically and correctly. D> > D> > OK, I'll look into that. D> D> I see ng_eiface uses ng_send_fn to defer processing until netgraph locking D> allows - should I use it? D> (I'll try it later but a definitive answer would be nice :) If you have put smth into ng_iface_start(), then you should do this stuff via ng_send_fn(). Sorry, that I haven't yet feedbacked on your patches. I'll probably look at them after 6.0-RELEASE. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050829064040.GB48425>