mirror of https://github.com/OISF/suricata
nfq: close the queue when leaving acquisition.
This patch adds a call to close the queue when the acquisition loop is ending. This way the incoming packets will be accepted during all the shutdown phase (if the queue-bypass option of NFQUEUE is used). At the same time the currently processed packets will be dropped but the time scale are different: suricata will drop 20 ms of packets and the shutdown can take 0.5 seconds. Patch based on an idea of Victor Julien.pull/117/merge
parent
75cddabd8a
commit
19756488ab
Loading…
Reference in New Issue