diff options
author | davidcs <davidcs@FreeBSD.org> | 2017-03-06 20:25:33 +0000 |
---|---|---|
committer | davidcs <davidcs@FreeBSD.org> | 2017-03-06 20:25:33 +0000 |
commit | 6a26a03ab521df8ace37d7a8ab9af6479c2959c6 (patch) | |
tree | f011558ab561c89d94e40ff773cc09c256e56e90 | |
parent | dd391a9da058d6d9f8063429e3177f2411771fac (diff) | |
download | FreeBSD-src-6a26a03ab521df8ace37d7a8ab9af6479c2959c6.zip FreeBSD-src-6a26a03ab521df8ace37d7a8ab9af6479c2959c6.tar.gz |
MFC r314062
add bus_dmamap_unload in ql_free_dmabuf()
-rw-r--r-- | sys/dev/qlxgbe/ql_os.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/qlxgbe/ql_os.c b/sys/dev/qlxgbe/ql_os.c index b7cda78..77efe6d 100644 --- a/sys/dev/qlxgbe/ql_os.c +++ b/sys/dev/qlxgbe/ql_os.c @@ -735,6 +735,7 @@ ql_alloc_dmabuf_exit: void ql_free_dmabuf(qla_host_t *ha, qla_dma_t *dma_buf) { + bus_dmamap_unload(dma_buf->dma_tag, dma_buf->dma_map); bus_dmamem_free(dma_buf->dma_tag, dma_buf->dma_b, dma_buf->dma_map); bus_dma_tag_destroy(dma_buf->dma_tag); } |