]> git.ipfire.org Git - people/ms/suricata.git/commit
flow: more accurate flow counters
authorEric Leblond <el@stamus-networks.com>
Sat, 14 Aug 2021 21:05:03 +0000 (23:05 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 1 Sep 2021 06:33:52 +0000 (08:33 +0200)
commit9a4ef6b8fc290a83ad0d17c036d8a93b5c02689c
treea6965021d27be0adb53d678d332046d6f3242c27
parentc51042e0934fd328010d41d9405fd643855aba89
flow: more accurate flow counters

Don't increment the flow timeout counter for flows that are not
really timeout (as use_cnt is non zero). And also don't take into
account bypassed flows in the counter for flow timeout in use.
src/flow-manager.c