]> 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>
Wed, 23 Jan 2019 09:25:47 +0000 (10:25 +0100)
commitc99dc5a7bfc3b29f746d28f868d3233b37625770
tree1301efb120351b9f4eb805e83bf8b928ca5dba99
parentcebbe06f70ffdbda86dea7435aa406b5d1b26bac
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