kern/55886: mbuf exhaustion can cause panic
Pawel Malachowski
pawmal-posting at freebsd.lublin.pl
Tue Aug 26 01:30:24 PDT 2003
The following reply was made to PR kern/55886; it has been noted by GNATS.
From: Pawel Malachowski <pawmal-posting at freebsd.lublin.pl>
To: Robert Watson <rwatson at FreeBSD.org>
Cc: FreeBSD-gnats-submit at 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
More information about the freebsd-bugs
mailing list