HomeFreeBSD

ena: Fix invalid KASSERT test in netmap code

Description

ena: Fix invalid KASSERT test in netmap code

The KASSERT was originally added to ensure that the netmap Rx ring is
not NULL, however, it was checking for the opposite.

Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.

Details

Provenance
mk_semihalf.comAuthored on Jun 10 2022, 9:18 AM
mwCommitted on Jun 30 2022, 3:32 PM
Parents
rG8f15f8a72b54: ena: Align names of constants
Branches
Unknown
Tags
Unknown