diff options
author | avatar <avatar@FreeBSD.org> | 2005-03-17 13:59:30 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2005-03-17 13:59:30 +0000 |
commit | 4e799e8a642b2c6039ae6db6d8f620c264b320ec (patch) | |
tree | 8550a087cc0de4f6bac7050b80b2df5c2006a6b9 /lib/libpcap | |
parent | d9bafd24479a1aa44d8a31d49a8b78b79130fedc (diff) | |
download | FreeBSD-src-4e799e8a642b2c6039ae6db6d8f620c264b320ec.zip FreeBSD-src-4e799e8a642b2c6039ae6db6d8f620c264b320ec.tar.gz |
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
Diffstat (limited to 'lib/libpcap')
0 files changed, 0 insertions, 0 deletions