]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stats: stats threads don't need packet pools
authorVictor Julien <victor@inliniac.net>
Mon, 22 Dec 2014 12:15:08 +0000 (13:15 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 22 Dec 2014 12:15:08 +0000 (13:15 +0100)
src/counters.c

index 6f2333ce97f04ffad335c5d898809422c5ce857a..01e80b4e17bdc431d5e735bb2103cc8d94a5e332 100644 (file)
@@ -276,7 +276,6 @@ static void *SCPerfMgmtThread(void *arg)
     tv_local->cap_flags = 0;
 
     SCDropCaps(tv_local);
-    PacketPoolInit();
 
     if (sc_perf_op_ctx == NULL) {
         SCLogError(SC_ERR_PERF_STATS_NOT_INIT, "Perf Counter API not init"
@@ -356,7 +355,6 @@ static void *SCPerfWakeupThread(void *arg)
     tv_local->cap_flags = 0;
 
     SCDropCaps(tv_local);
-    PacketPoolInit();
 
     if (sc_perf_op_ctx == NULL) {
         SCLogError(SC_ERR_PERF_STATS_NOT_INIT, "Perf Counter API not init"