From owner-cvs-all Mon Aug 20 11:49: 1 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.wrs.com (unknown-1-11.windriver.com [147.11.1.11]) by hub.freebsd.org (Postfix) with ESMTP id C5E7F37B412; Mon, 20 Aug 2001 11:48:50 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from laptop.baldwin.cx (john@[147.11.46.201]) by mail.wrs.com (8.9.3/8.9.1) with ESMTP id LAA18151; Mon, 20 Aug 2001 11:48:25 -0700 (PDT) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200108190430.f7J4UEJ01333@freefall.freebsd.org> Date: Mon, 20 Aug 2001 11:48:31 -0700 (PDT) From: John Baldwin To: Julian Elischer Subject: RE: cvs commit: src/sys/kern uipc_mbuf.c uipc_usrreq.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 19-Aug-01 Julian Elischer wrote: > julian 2001/08/18 21:30:13 PDT > > Modified files: > sys/kern uipc_mbuf.c uipc_usrreq.c > Log: > Forgot to remove this un-needed test. (M_WAITOK won't fail) > I vaguely remember someone once proving it COULD return NULL.. > was that changed? It will panic inside some kmem_foo() function (kmem_alloc() maybe?) before it returns NULL, but malloc() still handles the case where that function returns NULL, leading to the confusion. -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message