Re: AltQ + ng_iface
From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 08/29/05
- Previous message: Robert Watson: "Re: FreeBSD 5 ip_gre and netisr_enable=1"
- Next in thread: Gleb Smirnoff: "Re: AltQ + ng_iface"
- Reply: Gleb Smirnoff: "Re: AltQ + ng_iface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Julian Elischer <julian@elischer.org> Date: Mon, 29 Aug 2005 14:49:14 +0930
On Sunday 31 July 2005 22:53, Daniel O'Connor wrote:
> > The calling code must always have a reference on the node to ensure that
> > it is not removed while it is running in it. This is sometimes
> > done automatically. This is why there is an ng_callout facility to ensure
> > that the locking andreferences are done automatically and correctly.
>
> OK, I'll look into that.
I see ng_eiface uses ng_send_fn to defer processing until netgraph locking
allows - should I use it?
(I'll try it later but a definitive answer would be nice :)
-- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
- application/pgp-signature attachment: stored
- Previous message: Robert Watson: "Re: FreeBSD 5 ip_gre and netisr_enable=1"
- Next in thread: Gleb Smirnoff: "Re: AltQ + ng_iface"
- Reply: Gleb Smirnoff: "Re: AltQ + ng_iface"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|