Date: Tue, 18 Feb 2003 10:50:54 -0800 (PST) From: Maxime Henrion <mux@FreeBSD.org> 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 Message-ID: <200302181850.h1IIosF5013428@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302181850.h1IIosF5013428>
