HomeFreeBSD

Set vaddr and paddr as NULL when DMA alloc fails in ENA

Description

Set vaddr and paddr as NULL when DMA alloc fails in ENA

To prevent errors from assigning values from the DMA structure in case
of an error, zero the vaddr and paddr values upon failure.

Submitted by: Michal Krawczyk <mk@semihalf.com>
Obtained from: Semihalf
Sponsored by: Amazon, Inc.

Details

Provenance
mwAuthored on
Parents
rS348394: Fix DMA synchronization in the ENA driver Tx and Rx paths
Branches
Unknown
Tags
Unknown