From: Victor Julien Date: Thu, 5 Dec 2019 08:20:31 +0000 (+0100) Subject: stats: fix stats not always syncing in flow timeout X-Git-Tag: suricata-4.1.6~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4439%2Fhead;p=thirdparty%2Fsuricata.git stats: fix stats not always syncing in flow timeout (cherry picked from commit 83bbe287e7d2713669990dee41181d33f7cd571b) --- diff --git a/src/tm-threads.c b/src/tm-threads.c index b7f3aebd08..70da024bf2 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -239,6 +239,7 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s) } } SCLogDebug("flow end loop complete"); + StatsSyncCounters(tv); return r; }