diff options
author | adrian <adrian@FreeBSD.org> | 2013-04-01 20:57:13 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-04-01 20:57:13 +0000 |
commit | 171d3554bea8bdebbcb7c09f2537de73c570c729 (patch) | |
tree | 9bb37095ccdc6cf38545e45757a153684bc6bb65 /cddl/contrib/opensolaris/tools/ctf/cvt/input.c | |
parent | 8435d3c02c8802b5019ee98f13f0270b332106c5 (diff) | |
download | FreeBSD-src-171d3554bea8bdebbcb7c09f2537de73c570c729.zip FreeBSD-src-171d3554bea8bdebbcb7c09f2537de73c570c729.tar.gz |
Ensure that we only call the busdma unmap/flush routines once, when
the buffer is being freed.
* When buffers are cloned, the original mapping isn't copied but it
wasn't freeing the mapping until later. To be safe, free the
mapping when the buffer is cloned.
* ath_freebuf() now no longer calls the busdma sync/unmap routines.
* ath_tx_freebuf() now calls sync/unmap.
* Call sync first, before calling unmap.
Tested:
* AR5416, STA mode
Diffstat (limited to 'cddl/contrib/opensolaris/tools/ctf/cvt/input.c')
0 files changed, 0 insertions, 0 deletions