From owner-cvs-src@FreeBSD.ORG Wed Apr 23 18:26:02 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3286137B407 for ; Wed, 23 Apr 2003 18:26:02 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 40F4543FE1 for ; Wed, 23 Apr 2003 18:26:00 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 44275 invoked from network); 24 Apr 2003 01:25:59 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 24 Apr 2003 01:25:59 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 23 Apr 2003 20:25:46 -0500 (CDT) From: Mike Silbersack To: Archie Cobbs In-Reply-To: <200304231835.h3NIZe0J052766@repoman.freebsd.org> Message-ID: <20030423202445.J9057@odysseus.silby.com> References: <200304231835.h3NIZe0J052766@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_ethersubr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2003 01:26:02 -0000 Cool! I was playing around with mbuf exhaustion situations last week, and I kept managing to panic the machine. With luck, this is the fix. (And if not, I guess I have more work to do.) Mike "Silby" Silbersack On Wed, 23 Apr 2003, Archie Cobbs wrote: > archie 2003/04/23 11:35:40 PDT > > FreeBSD src repository > > Modified files: > sys/net if_ethersubr.c > Log: > Fix a case where the return value from m_copy() was not being checked > for NULL before proceeding, causing a crash if mbufs were exhausted. > > MFC after: 3 days > Reported by: Mark Gooderum > > Revision Changes Path > 1.144 +6 -6 src/sys/net/if_ethersubr.c >