diff options
author | loos <loos@FreeBSD.org> | 2014-10-24 19:18:39 +0000 |
---|---|---|
committer | loos <loos@FreeBSD.org> | 2014-10-24 19:18:39 +0000 |
commit | 6ab33f375cd4a6fd01c358f3af62aa4cba3275e4 (patch) | |
tree | 520f27c595d9dddb1155e0228b2bce00f5d5307b /lib/libc | |
parent | 65e80d25cabe5061e1532d06d3c42e874ccebd3a (diff) | |
download | FreeBSD-src-6ab33f375cd4a6fd01c358f3af62aa4cba3275e4.zip FreeBSD-src-6ab33f375cd4a6fd01c358f3af62aa4cba3275e4.tar.gz |
Fix a bug where DMA maps created with bus_dmamap_create() won't increment
the map count and without being able to keep track of the current map
allocation, bus_dma_tag_destroy() will fail to proceed and will return
EBUSY even after all the maps have been correctly destroyed with
bus_dmamap_destroy().
Found while testing the detach method of a NIC.
Tested on: BBB (am335x)
Reviewed by: cognet, ian
MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions