summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2014-06-23 03:45:39 +0000
committerkan <kan@FreeBSD.org>2014-06-23 03:45:39 +0000
commite078545a8d3ac54a98f71b281813cfb43d9ae6ca (patch)
treea6b12b68f6805624124ab6867c48e717f5b3529e /share
parentf4fc0f344494005046953951113833a269f39583 (diff)
downloadFreeBSD-src-e078545a8d3ac54a98f71b281813cfb43d9ae6ca.zip
FreeBSD-src-e078545a8d3ac54a98f71b281813cfb43d9ae6ca.tar.gz
Restore the check for non-NULL dmatag in sndbuf_free.
The sound drivers that use own buffer management can use sndbuf_setup and not do any busdma allocation, so the driver will end up with the managed buffer but no valid dma map and tag for it. Avoid calling bus_dmamem_free in such cases. Reported by: ache Missed in review by: kan
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud