summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_sockbuf.c
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2004-05-19 00:22:10 +0000
committerps <ps@FreeBSD.org>2004-05-19 00:22:10 +0000
commitb36520446e6c391dc380290f06814e1900af6ca5 (patch)
treeee81dfeef1d906ea17f426f0c0e65f49d20a0b2d /sys/kern/uipc_sockbuf.c
parent2ccbdbb7fe33efc4df0f2e0ef7462c65b76c02a3 (diff)
downloadFreeBSD-src-b36520446e6c391dc380290f06814e1900af6ca5.zip
FreeBSD-src-b36520446e6c391dc380290f06814e1900af6ca5.tar.gz
syncache broke rev 1.23 which was done to fix the "thundering herd"
problem in Apache. Fix it. Reviewed by: peter
Diffstat (limited to 'sys/kern/uipc_sockbuf.c')
-rw-r--r--sys/kern/uipc_sockbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_sockbuf.c b/sys/kern/uipc_sockbuf.c
index 750d50f..3ab8f3a 100644
--- a/sys/kern/uipc_sockbuf.c
+++ b/sys/kern/uipc_sockbuf.c
@@ -223,7 +223,7 @@ sonewconn(head, connstatus)
}
if (connstatus) {
sorwakeup(head);
- wakeup(&head->so_timeo);
+ wakeup_one(&head->so_timeo);
so->so_state |= connstatus;
}
return (so);
OpenPOWER on IntegriCloud