]> git.ipfire.org Git - thirdparty/suricata.git/commit
netmap: packet stall
authorBill Meeks <bmeeks8@bellsouth.net>
Thu, 23 Feb 2023 16:12:56 +0000 (11:12 -0500)
committerVictor Julien <vjulien@oisf.net>
Tue, 28 Mar 2023 09:32:22 +0000 (11:32 +0200)
commit4835befec55a146cc0afd6954da40e27ad3c4302
treeeac693ad19c381fcd00f9ff061a453111be76e65
parent289e996a3918ebd9c706b59cbdd727f023137b3a
netmap: packet stall

- Fix packet processing stall under high load when using netmap in IPS mode.
- Detect and generate Fatal Error exit for rare case when hardware NIC exposes
unmatched RX/TX queue counts. This is rare, but would result in some traffic
bypassing Suricata since it assumes NIC queue counts are symmetrical.
- Fix instance of missing unlock call for netmap device list when exiting due
to an error condition.
- Clean up existing code comments and add additional ones to better document
the new netmap v14 API code.
src/runmode-netmap.c
src/source-netmap.c