HomeFreeBSD

Don't destroy bus_dma maps created by bus_dmamem_alloc(). In some cases,

Description

Don't destroy bus_dma maps created by bus_dmamem_alloc(). In some cases,
don't create a map before calling bus_dmamem_alloc() (such maps were
leaked). It is believed that the extra destroy of the map was generally
harmless since bus_dmamem_alloc() often uses special maps for which
bus_dmamap_destroy() is a no-op (e.g. on x86).

Reviewed by: scottl

Details

Provenance
jhbAuthored on
Reviewer
scottl
Parents
rS267339: MFC 261000,261785,263238,263322,264302:
Branches
Unknown
Tags
Unknown

Event Timeline