]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ena: Fix invalid KASSERT test in netmap code
authorMichal Krawczyk <mk@semihalf.com>
Fri, 10 Jun 2022 09:18:13 +0000 (11:18 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Thu, 30 Jun 2022 15:32:17 +0000 (17:32 +0200)
commit79770fdad6c18d968cc122c4294820931cc542e0
tree7b5ace35a51b8a24d05d22edd0dfdd13c2baf52e
parent8f15f8a72b5474b81c5951d4039d203b2d80e2e3
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.
sys/dev/ena/ena_netmap.c