Please find the attached patch for socreate() in uipc_socket.c. I think the code was supposed to call soalloc(0) rather then soalloc(M_NOWAIT). Note M_NOWAIT defined as 1.
Is that a real typo or i'm missing something here?
thanks, max
--- uipc_socket.c.orig Thu Feb 27 15:24:52 2003 +++ uipc_socket.c Thu Feb 27 15:25:08 2003 @@ -194,7 +194,7 @@ if (prp->pr_type != type) return (EPROTOTYPE); - so = soalloc(M_NOWAIT); + so = soalloc(0); if (so == NULL) return (ENOBUFS);