Re: protecting netgraph calls from outside of the network context
From: Harti Brandt (harti_at_freebsd.org)
Date: 05/24/04
- Previous message: Larry Rosenman: "NDIS: WPC54GS: Buggy Driver messages?"
- In reply to: Dmitri Denissov: "protecting netgraph calls from outside of the network context"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 24 May 2004 09:53:04 +0200 (MET DST) To: Dmitri Denissov <ddenissov@sandvine.com>
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
_______________________________________________
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"
- Previous message: Larry Rosenman: "NDIS: WPC54GS: Buggy Driver messages?"
- In reply to: Dmitri Denissov: "protecting netgraph calls from outside of the network context"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]