Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 22:42:37 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-hackers@freebsd.org
Subject:   sppp and Giant
Message-ID:  <200506162242.38227.hselasky@c2i.net>

next in thread | raw e-mail | index | archive | help
Hi,

In some existing code it says:

NET_NEEDS_GIANT("i4b_isppp");

s = splimp();
 
sppp_input(&sc->sc_if, m);
 
splx(s);

I have rewritten that code to use its own mutex, 
but does sppp_input() require Giant to be locked?


Can I remove "NET_NEEDS_GIANT(..)" if my "if_start" callback
does not require Giant to be locked?


--HPS



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