From owner-p4-projects@FreeBSD.ORG Tue Dec 12 11:38:14 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B93DA16A530; Tue, 12 Dec 2006 11:38:14 +0000 (UTC) X-Original-To: perforce@FreeBSD.org Delivered-To: perforce@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31AE616A515 for ; Tue, 12 Dec 2006 11:38:14 +0000 (UTC) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D001449EF for ; Tue, 12 Dec 2006 11:24:59 +0000 (GMT) (envelope-from zec@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kBCBQ4pU009008 for ; Tue, 12 Dec 2006 11:26:04 GMT (envelope-from zec@FreeBSD.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kBCBQ4hb009005 for perforce@freebsd.org; Tue, 12 Dec 2006 11:26:04 GMT (envelope-from zec@FreeBSD.org) Date: Tue, 12 Dec 2006 11:26:04 GMT Message-Id: <200612121126.kBCBQ4hb009005@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to zec@FreeBSD.org using -f From: Marko Zec To: Perforce Change Reviews Cc: Subject: PERFORCE change 111541 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2006 11:38:15 -0000 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);