Date: Thu, 17 Mar 2005 13:59:30 +0000 (UTC) From: Tai-hwa Liang <avatar@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/bfe if_bfe.c Message-ID: <200503171359.j2HDxUxi081330@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avatar 2005-03-17 13:59:30 UTC FreeBSD src repository Modified files: sys/dev/bfe if_bfe.c Log: Releasing TX/RX descriptor dmamaps during device detachment instead of doing that in bfe_stop(). This should fix a panic recently reported on -current occuring when taking device down then up. In the original implementation, an "ifconfig bfe0 down" triggers bfe_stop(), which also destroys all TX/RX descriptor dmamaps. Hence the subsequent "ifconfig bfe0 up" would force the device to use those already-released dmamap and thus panic the kernel. PR: kern/77804 Submitted by: Frank Mayhar <frank at exit dot com> Reviewed by: dmlb, sam (mentor) Tested by: Phil <pcasidy at casidy dot com>, myself MFC after: 1 week Revision Changes Path 1.22 +4 -5 src/sys/dev/bfe/if_bfe.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503171359.j2HDxUxi081330>