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