Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2003 01:30:23 -0700 (PDT)
From:      Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/55886: mbuf exhaustion can cause panic
Message-ID:  <200308260830.h7Q8UNN8027470@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: Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
To: Robert Watson <rwatson@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/55886: mbuf exhaustion can cause panic
Date: Tue, 26 Aug 2003 10:29:08 +0200

 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!
 
 
 -- 
 Paweł Małachowski



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