HomeFreeBSD

Fix bug in busdma: if segs is a preexisting buffer, we memcpy it
rS255614Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Fix bug in busdma: if segs is a preexisting buffer, we memcpy it
into the DMA map. The length of the buffer had not yet been
initialized, however, so this would copy gibberish unless it
happened to be right by chance. This bug mostly only affected
systems with IOMMUs.

Approved by: re (gjb)
MFC after: 3 days

Details

Provenance
nwhitehornAuthored on
Parents
rS255613: Fix GCC build error when building for ARMv6
Branches
Unknown
Tags
Unknown

Event Timeline