protecting netgraph calls from outside of the network context
Harti Brandt
harti at freebsd.org
Mon May 24 07:53:25 GMT 2004
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
More information about the freebsd-net
mailing list