mirror of https://github.com/OISF/suricata
af-packet: fix possible infinite loop.
If no packet arrives to a capture thread, it is possible that the AFPReadLoop() function goes into an infinite loop. This could cause suricata to hang at exit on non busy system. This patch adds a counter to detect when Suricata start looping in the ring to stop when it reaches this point.pull/154/head
parent
e8a4a4c47c
commit
b26ec60398
Loading…
Reference in New Issue