AltQ + ng_iface

Gleb Smirnoff glebius at FreeBSD.org
Mon Aug 29 06:40:50 GMT 2005


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


More information about the freebsd-net mailing list