Date: Tue, 5 Nov 2002 13:06:44 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: Iasen Kostov <ikostov@otel.net> Cc: freebsd-net@FreeBSD.ORG Subject: Re: NFS functions does *NOT* check if they really have allocated any memory Message-ID: <200211052106.gA5L6igd039808@arch20m.dellroad.org> In-Reply-To: <20021105183154.I80368-100000@shadowhand.OTEL.net> "from Iasen Kostov at Nov 5, 2002 07:25:33 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Iasen Kostov writes: > As I experience system crushes at time of mbufs exhaustion I've compiled > a debug kernel and traced the problem. I seems the NFS functions > (nfsm_rpchead, nfsm_reqh ...) does *NOT* chek if they really have > allocated memory by MGET macro. No check is necessary if M_WAIT is specified; the M_GET() function is always successful in that case. Same for malloc(). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211052106.gA5L6igd039808>