aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-02-29 17:54:05 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-02-29 17:54:05 +0000
commit2bc87dcfbead59f038f7a260db1361daca4f18b4 (patch)
treea71c42739347a4777f68766ab272e38a4b71cf1b /sys/kern/uipc_socket2.c
parent2cf6bdac50a18ebb4e0f1b6999751aa4a89f7d6e (diff)
downloadsrc-2bc87dcfbead59f038f7a260db1361daca4f18b4.tar.gz
src-2bc87dcfbead59f038f7a260db1361daca4f18b4.zip
Notes
Diffstat (limited to 'sys/kern/uipc_socket2.c')
-rw-r--r--sys/kern/uipc_socket2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_socket2.c b/sys/kern/uipc_socket2.c
index 9f5da29644e0..16ee01e75d56 100644
--- a/sys/kern/uipc_socket2.c
+++ b/sys/kern/uipc_socket2.c
@@ -189,7 +189,7 @@ sonewconn(head, connstatus)
if (head->so_qlen > 3 * head->so_qlimit / 2)
return ((struct socket *)0);
- so = soalloc(0);
+ so = soalloc(M_NOWAIT);
if (so == NULL)
return ((struct socket *)0);
if ((head->so_options & SO_ACCEPTFILTER) != 0)