Does Netgraph in FBSD 5.x SMP requires GIANT lock?
Julian Elischer
julian at elischer.org
Fri Jun 6 00:17:24 PDT 2003
On Fri, 6 Jun 2003, Vincent Jardin wrote:
> >
> > 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
> ng_[un]timeout functions.
Basically they and others..
but the ng_timeout() functions are still not the complete solution
(yet).
they are not even used yet.
More information about the freebsd-net
mailing list