From owner-freebsd-net@FreeBSD.ORG Mon Aug 29 05:19:33 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1215216A41F; Mon, 29 Aug 2005 05:19:33 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CD9543D46; Mon, 29 Aug 2005 05:19:31 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.47]) (authenticated bits=0) by cain.gsoft.com.au (8.13.4/8.13.4) with ESMTP id j7T5JIg3011697 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 29 Aug 2005 14:49:27 +0930 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: Julian Elischer Date: Mon, 29 Aug 2005 14:49:14 +0930 User-Agent: KMail/1.8.1 References: <200507290834.10268.doconnor@gsoft.com.au> <42EBD738.2010105@elischer.org> <200507312253.29038.doconnor@gsoft.com.au> In-Reply-To: <200507312253.29038.doconnor@gsoft.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1258481.TuLH8vAGg2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200508291449.15427.doconnor@gsoft.com.au> X-Spam-Score: -2.82 () ALL_TRUSTED X-Scanned-By: MIMEDefang 2.51 on 203.31.81.10 Cc: freebsd-net@freebsd.org Subject: Re: AltQ + ng_iface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2005 05:19:33 -0000 --nextPart1258481.TuLH8vAGg2 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 ensu= re > > 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= =20 allows - should I use it? (I'll try it later but a definitive answer would be nice :) =2D-=20 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 --nextPart1258481.TuLH8vAGg2 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDEprT5ZPcIHs/zowRAsMFAKCcnNxn1v9fo41iHHcGmBQCuNYKdQCgqnMr LojdjsJ3RuBXw9GVIizrzm4= =hpi1 -----END PGP SIGNATURE----- --nextPart1258481.TuLH8vAGg2--