Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 07:20:19 -0700 (PDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/55886: mbuf exhaustion can cause panic
Message-ID:  <200308261420.h7QEKJ87012817@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/55886; it has been noted by GNATS.

From: Robert Watson <rwatson@FreeBSD.org>
To: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/55886: mbuf exhaustion can cause panic
Date: Tue, 26 Aug 2003 10:11:58 -0400 (EDT)

 On Tue, 26 Aug 2003, Pawel Malachowski wrote:
 
 > On Mon, Aug 25, 2003 at 01:00:40PM -0700, Robert Watson wrote:
 > 
 > >   		M_PREPEND(m, sizeof(struct ip), M_TRYWAIT);
 > >  +		if (m == NULL)
 > >  +			return(ENOBUFS);
 > >   		ip = mtod(m, struct ip *);
 > 
 > Tested on latest 4.8-STABLE. No panic after >10 hours of loopback flooding.
 > Seems it works, thanks!
 
 Ok, I've committed to -CURRENT and will merge to -STABLE after three days
 of settling.  Thanks!
 
 Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
 robert@fledge.watson.org      Network Associates Laboratories
 
 



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