]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ippair: handle timeouts in the flow manager
authorVictor Julien <victor@inliniac.net>
Sat, 20 Dec 2014 21:19:11 +0000 (22:19 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 16 Apr 2015 08:19:37 +0000 (10:19 +0200)
Like host and defrag, handle timeouts of ippair in the first flow
manager thread.

src/flow-manager.c

index b52220d153b507dc08d287dab0962c2627af58ba..70300b95cd045f103d1a8a09af4be3895e9864ff 100644 (file)
@@ -63,6 +63,7 @@
 
 #include "host-timeout.h"
 #include "defrag-timeout.h"
+#include "ippair-timeout.h"
 
 #include "output-flow.h"
 
@@ -634,6 +635,7 @@ static TmEcode FlowManager(ThreadVars *th_v, void *thread_data)
             DefragTimeoutHash(&ts);
             //uint32_t hosts_pruned =
             HostTimeoutHash(&ts);
+            IPPairTimeoutHash(&ts);
         }
 /*
         SCPerfCounterAddUI64(flow_mgr_host_prune, th_v->sc_perf_pca, (uint64_t)hosts_pruned);