summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_sockbuf.c
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2002-04-27 09:33:49 +0000
committertanimura <tanimura@FreeBSD.org>2002-04-27 09:33:49 +0000
commit6d8e4294e025f9f62714174c5cd916e5d397f2ab (patch)
treed0c009031803832b55247d5f9cb7d87989b9b87b /sys/kern/uipc_sockbuf.c
parentdbb4756491715a06ce4578841f6eba43fc62fa70 (diff)
downloadFreeBSD-src-6d8e4294e025f9f62714174c5cd916e5d397f2ab.zip
FreeBSD-src-6d8e4294e025f9f62714174c5cd916e5d397f2ab.tar.gz
Fix the code fragment clobbered in my last commit.
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