]> git.ipfire.org Git - thirdparty/suricata.git/commit
pfring: improve profiling
authorVictor Julien <victor@inliniac.net>
Tue, 31 May 2016 12:18:04 +0000 (14:18 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 31 May 2016 12:48:46 +0000 (14:48 +0200)
commit6f7740807dd6719c9b17403dd64db463a3bee26a
treecdfd58ffbcc49d44ec3f47574fa9ffb6a20ca274
parentc9159892c72f5b4782862c3bfcc5deacccbbd0c6
pfring: improve profiling

Reset packet profiling after pfring_recv. The packet was taken from
the packet pool before this call. The packet will already have it's
start ticks initialized. To avoid including ticks while pfring_recv
waits for traffic, reset the ticks right after it.
src/source-pfring.c