aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlxgbe
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-06-11 20:44:02 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-06-11 20:44:02 +0000
commitaeeb653ce06387659c444addfb52e6dc33bd38f1 (patch)
treead58d311fa8e007d99771c48ba98309561e61737 /sys/dev/qlxgbe
parent91342c6607a7c35b5efde10305be1c6427806a0b (diff)
Notes
Diffstat (limited to 'sys/dev/qlxgbe')
-rw-r--r--sys/dev/qlxgbe/ql_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/qlxgbe/ql_os.c b/sys/dev/qlxgbe/ql_os.c
index e62f6033d571..7e77a911c0cf 100644
--- a/sys/dev/qlxgbe/ql_os.c
+++ b/sys/dev/qlxgbe/ql_os.c
@@ -681,6 +681,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);
}