From owner-freebsd-stable@FreeBSD.ORG Mon Dec 27 15:54:47 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E68616A4CE for ; Mon, 27 Dec 2004 15:54:47 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E3DA43D31 for ; Mon, 27 Dec 2004 15:54:46 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 6510AACBD6; Mon, 27 Dec 2004 16:54:43 +0100 (CET) Date: Mon, 27 Dec 2004 16:54:43 +0100 From: Pawel Jakub Dawidek To: Johnny Eriksson Message-ID: <20041227155443.GU787@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wu6d9FdQ4ohoCGf7" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-stable@freebsd.org Subject: Re: mbuf leak in bpf.c X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 15:54:47 -0000 --wu6d9FdQ4ohoCGf7 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 27, 2004 at 12:24:49PM +0000, Johnny Eriksson wrote: +> If one tries to write a datagram to a bpf device, and the datagram is +> longer than the MTU on the physical interface, the write fails as it +> should, but an mbuf is allocated and thrown away. Proposed solution: Committed to HEAD, thanks! --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --wu6d9FdQ4ohoCGf7 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB0DBDForvXbEpPzQRApy8AJ9RIrNgjWRGyPBP5aAuX7VKXftKogCdH+kC 3MzsoMx0JSVsH5Lkef44p8E= =GPrQ -----END PGP SIGNATURE----- --wu6d9FdQ4ohoCGf7--