Conditionally assert Giant in fputsock() based on the value of
debug.mpsafenet.
This commit is contained in:
parent
ca62e195dd
commit
a1288c786e
@ -2042,6 +2042,7 @@ void
|
||||
fputsock(struct socket *so)
|
||||
{
|
||||
|
||||
NET_ASSERT_GIANT();
|
||||
sorele(so);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user