From owner-cvs-all Tue Feb 18 10:50:57 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99F2137B401; Tue, 18 Feb 2003 10:50:55 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C90843F3F; Tue, 18 Feb 2003 10:50:55 -0800 (PST) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1IIosbv013433; Tue, 18 Feb 2003 10:50:54 -0800 (PST) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1IIosF5013428; Tue, 18 Feb 2003 10:50:54 -0800 (PST) Message-Id: <200302181850.h1IIosF5013428@repoman.freebsd.org> From: Maxime Henrion Date: Tue, 18 Feb 2003 10:50:54 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux 2003/02/18 10:50:54 PST Modified files: sys/pci if_xl.c if_xlreg.h Log: - Fix mbuf leak when we successfully allocate a new mbuf but fail to bus_dmamap_load() it. - Make it so reusing mbufs when we can't allocate (or map) new ones actually works. We were previously trying to reuse a mbuf which was already bus_dmamap_unload()'ed. Reviewed by: silby Revision Changes Path 1.127 +17 -6 src/sys/pci/if_xl.c 1.44 +1 -0 src/sys/pci/if_xlreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message