Re: AltQ + ng_iface
From: Gleb Smirnoff (glebius_at_FreeBSD.org)
Date: 08/29/05
- Previous message: wsk: "mpd help"
- In reply to: Daniel O'Connor: "Re: AltQ + ng_iface"
- Next in thread: Daniel O'Connor: "Re: AltQ + ng_iface"
- Reply: Daniel O'Connor: "Re: AltQ + ng_iface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Aug 2005 10:40:40 +0400 To: "Daniel O'Connor" <doconnor@gsoft.com.au>
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 _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: wsk: "mpd help"
- In reply to: Daniel O'Connor: "Re: AltQ + ng_iface"
- Next in thread: Daniel O'Connor: "Re: AltQ + ng_iface"
- Reply: Daniel O'Connor: "Re: AltQ + ng_iface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]