sppp and Giant

Hans Petter Selasky hselasky at c2i.net
Thu Jun 16 21:13:37 GMT 2005


In some existing code it says:


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

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?


More information about the freebsd-hackers mailing list