summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_descrip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index b8c39a6..41b6116 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -2042,6 +2042,7 @@ void
fputsock(struct socket *so)
{
+ NET_ASSERT_GIANT();
sorele(so);
}
OpenPOWER on IntegriCloud