]> git.ipfire.org Git - thirdparty/suricata.git/commit
af-packet: re-enable sync for tpacket v2
authorVictor Julien <victor@inliniac.net>
Tue, 22 Jan 2019 20:28:40 +0000 (21:28 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 16 Feb 2019 13:58:18 +0000 (14:58 +0100)
commit7f330b0e4ac73878e1b7c64535d9ef168c7079de
tree5c3cbbd92daa857e9abd1b89acbb57f84fd9f131
parentc9409aba3ea0b881b2f0cbdf8642fefce6c28d13
af-packet: re-enable sync for tpacket v2

Synchronize start was disabled for v2 when v3 was introduced, without
a reason being given.

Re-enable as v2 will otherwise also start reading packets before the
other threads are set up. This will lead to hashing issues.

Part of bug #2788.
src/source-af-packet.c