summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_sockbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r--sys/kern/uipc_sockbuf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c
index 56fb012..01ea5ab 100644
--- a/sys/kern/uipc_sockbuf.c
+++ b/sys/kern/uipc_sockbuf.c
@@ -268,6 +268,8 @@ sonewconn(head, connstatus)
SIGIO_SLOCK();
sorwakeup_locked(head);
SIGIO_SUNLOCK();
+ wakeup((caddr_t)&head->so_timeo);
+ so->so_state |= connstatus;
}
return (so);
}
OpenPOWER on IntegriCloud