[Bug 288309] genet driver memory leak in dma teardown (cut and paste issue)
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288309 --- Comment #1 from Zhenlei Huang <[email protected]> --- (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.