]> git.ipfire.org Git - people/ms/suricata.git/commit - src/source-af-packet.c
ebpf: fix percpu hash handling
authorEric Leblond <eric@regit.org>
Sat, 9 Mar 2019 14:13:26 +0000 (15:13 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
commit651a27e4fb9d9a8b56da4b390492140de114b398
tree7b2f3a99c141348e2975cbee10f1e72b09298255
parent142c69e1ef2b672c826048cd83b6bf6fbfc95198
ebpf: fix percpu hash handling

An alignement issue was preventing the code to work properly.
We introduce macros taken from Linux source code sample to get
something that should work on the long term.
src/source-af-packet.c
src/util-ebpf.c
src/util-ebpf.h