Date: Mon, 24 May 2004 09:53:04 +0200 (MET DST) From: Harti Brandt <harti@freebsd.org> To: Dmitri Denissov <ddenissov@sandvine.com> Cc: freebsd-net@freebsd.org Subject: Re: protecting netgraph calls from outside of the network context Message-ID: <Pine.GSO.4.60.0405240952150.9871@zeus> In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337012C0D56@mail.sandvine.com> References: <FE045D4D9F7AED4CBFF1B3B813C85337012C0D56@mail.sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 May 2004, Dmitri Denissov wrote: DD>Currently netgraph code uses splnet/splx to protect timeout calls. DD>This doesn't work with 5.2 SMP kernel. What is the proper method DD>here for a custom netgraph node? Is the Giant lock only the way? Have a lock at the ng_timeout/ng_untimeout functions in ng_base.c. These should do the proper locking. harti
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.60.0405240952150.9871>