diff options
author | ps <ps@FreeBSD.org> | 2004-05-19 00:22:10 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2004-05-19 00:22:10 +0000 |
commit | b36520446e6c391dc380290f06814e1900af6ca5 (patch) | |
tree | ee81dfeef1d906ea17f426f0c0e65f49d20a0b2d /sys/kern/uipc_socket2.c | |
parent | 2ccbdbb7fe33efc4df0f2e0ef7462c65b76c02a3 (diff) | |
download | FreeBSD-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_socket2.c')
-rw-r--r-- | sys/kern/uipc_socket2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c index 750d50f..3ab8f3a 100644 --- a/sys/kern/uipc_socket2.c +++ b/sys/kern/uipc_socket2.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); |