Conditionally assert Giant in fputsock() based on the value of

debug.mpsafenet.
This commit is contained in:
Robert Watson 2004-03-29 00:33:02 +00:00
parent ca62e195dd
commit a1288c786e

View File

@ -2042,6 +2042,7 @@ void
fputsock(struct socket *so)
{
NET_ASSERT_GIANT();
sorele(so);
}