diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c index 56fb01249970..01ea5ab4147b 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); } diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 56fb01249970..01ea5ab4147b 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.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); }