mirror of https://github.com/OISF/suricata
cybersecurityidsintrusion-detection-systemintrusion-prevention-systemipsnetwork-monitornetwork-monitoringnsmsecuritysuricatathreat-hunting
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This patch updates the logic of the packet acquisition loop. When the reader loop function is called and when the data to read at offset is a without data (kernel) or still used by suricata. We try to iter for a loop on the ring to try to find kernel put by data. As we are entering the function because the poll said there was some data. This allow us to jump to the data added to the ring by the kernel. When using suricata in autofp mode, with multiple detect threads and packet acquisition threads attached to a dedicated CPU, the reader loop function was looping really fast because poll call was returning immediatly because we did read the data available. |
12 years ago | |
---|---|---|
benches | 16 years ago | |
contrib | 12 years ago | |
doc | 13 years ago | |
m4 | 16 years ago | |
qa | 12 years ago | |
rules | 12 years ago | |
scripts | 13 years ago | |
src | 12 years ago | |
.gitignore | 12 years ago | |
COPYING | 16 years ago | |
ChangeLog | 12 years ago | |
LICENSE | 16 years ago | |
Makefile.am | 12 years ago | |
Makefile.cvs | 16 years ago | |
acsite.m4 | 16 years ago | |
autogen.sh | 13 years ago | |
classification.config | 16 years ago | |
config.rpath | 12 years ago | |
configure.ac | 12 years ago | |
doxygen.cfg | 12 years ago | |
reference.config | 14 years ago | |
suricata.yaml.in | 12 years ago | |
threshold.config | 13 years ago |