]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stats: fix stats not always syncing in flow timeout 4439/head
authorVictor Julien <victor@inliniac.net>
Thu, 5 Dec 2019 08:20:31 +0000 (09:20 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Dec 2019 15:20:49 +0000 (16:20 +0100)
(cherry picked from commit 83bbe287e7d2713669990dee41181d33f7cd571b)

src/tm-threads.c

index b7f3aebd085bf8658f014aa109b107c8a95b4dc5..70da024bf23a0bdc5c0ed07b0fff7d33fea65211 100644 (file)
@@ -239,6 +239,7 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s)
         }
     }
     SCLogDebug("flow end loop complete");
+    StatsSyncCounters(tv);
 
     return r;
 }