Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2003 08:51:30 +0200
From:      Vincent Jardin <vjardin@wanadoo.fr>
To:        Julian Elischer <julian@elischer.org>, Michael Shiu <mshiu@net-yan.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Does Netgraph in FBSD 5.x SMP requires GIANT lock?
Message-ID:  <200306060851.30777.vjardin@wanadoo.fr>
In-Reply-To: <Pine.BSF.4.21.0306052329210.80038-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0306052329210.80038-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>
> it should not require Giant.
> However there are some locking 'holes' that come when locked resources
> are accessed by external code that is executed from other contexts..
> e.g. many drivers do not know about the locks in their netgraph half,
> and just 'do' what they want. Also there are instances of callout
> (timeout) code doing things to a node without getting teh node's lock.
>

What's about ng_l2tp ?
  The BSD's callout functions are used instead of the Netgraph's=20
ng_[un]timeout functions.=20

Vincent



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306060851.30777.vjardin>