Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2001 11:48:31 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Julian Elischer <julian@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/kern uipc_mbuf.c uipc_usrreq.c
Message-ID:  <XFMail.010820114831.jhb@FreeBSD.org>
In-Reply-To: <200108190430.f7J4UEJ01333@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org> -- 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.010820114831.jhb>