Date: Thu, 20 May 2004 14:33:52 -0700 (PDT) From: Julian Elischer <julian@elischer.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.BSF.4.21.0405201432000.72391-100000@InterJet.elischer.org> In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337012C0D56@mail.sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ha! funny you should ask that exactly now.. I was just discussing this with Robert Watson.. The answer is "it depends on what you want to do". What DO you want to do and what does your node do? netgraph has internal locking in 5.x that you need to interact with but it should be pretty transparrent depending on what you are doing.. On Thu, 20 May 2004, Dmitri Denissov wrote: > Hi, > > Currently netgraph code uses splnet/splx to protect timeout calls. > This doesn't work with 5.2 SMP kernel. What is the proper method > here for a custom netgraph node? Is the Giant lock only the way? > > Thanks > > -- > Dmitri > > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0405201432000.72391-100000>