Date: Tue, 12 Dec 2006 11:26:04 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 111541 for review Message-ID: <200612121126.kBCBQ4hb009005@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=111541 Change 111541 by zec@zec_tca51 on 2006/12/12 11:26:00 In sonewconn() new sockets must be allocated with M_NOWAIT flag, not with M_WAITOK. Affected files ... .. //depot/projects/vimage/src/sys/kern/uipc_socket.c#3 edit Differences ... ==== //depot/projects/vimage/src/sys/kern/uipc_socket.c#3 (text+ko) ==== @@ -431,9 +431,9 @@ return (NULL); #ifdef VIMAGE VNET_ASSERT(head->so_vnetb); - so = soalloc(M_WAITOK, head->so_vnetb); + so = soalloc(M_NOWAIT, head->so_vnetb); #else - so = soalloc(M_WAITOK, NULL); + so = soalloc(M_NOWAIT, NULL); #endif if (so == NULL) return (NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612121126.kBCBQ4hb009005>