On Sun, Nov 24, 2013 at 06:44:32PM +0100, Edgar Fuß wrote: > Further digging through mpt(4)'s timeout handling, I'm getting the impression > that there's a missing bus_dmamap_unload() for the data buffer > (for xs->datalen != 0). > > However, I neither know whether that's doing any harm nor what happens in > case > the IOC is still using the buffer.
You shouln't bus_dmamap_unload() before stopping the IOC. But a missing bus_dmamap_unload() can lead to memory leak. -- Manuel Bouyer <[email protected]> NetBSD: 26 ans d'experience feront toujours la difference --
