summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r--sys/kern/uipc_socket2.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 9c2492f39a5..f1ef9593c4c 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket2.c,v 1.102 2020/01/15 13:17:35 mpi Exp $ */
+/* $OpenBSD: uipc_socket2.c,v 1.103 2020/02/14 14:32:44 mpi Exp $ */
/* $NetBSD: uipc_socket2.c,v 1.11 1996/02/04 02:17:55 christos Exp $ */
/*
@@ -408,11 +408,9 @@ sowakeup(struct socket *so, struct sockbuf *sb)
sb->sb_flags &= ~SB_WAIT;
wakeup(&sb->sb_cc);
}
- KERNEL_LOCK();
if (so->so_state & SS_ASYNC)
pgsigio(&so->so_sigio, SIGIO, 0);
selwakeup(&sb->sb_sel);
- KERNEL_UNLOCK();
}
/*