https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288309

--- Comment #1 from Zhenlei Huang <z...@freebsd.org> ---
(In reply to Mike Belanger from comment #0)
> There is a memory leak in an error path where gen_bus_dma_teardown is called
> The tx_buf_tag is checked in both cases instead of checking the rx_buf_tag in
> the second case where rx dma mappings are destroyed.

That is obviously true.

> However we have added a detach handler that is leveraging this function.
> Please consider adding a detach handler.

Can you elaborate the usage for adding the detach handler ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to