From: Victor Julien Date: Tue, 12 Sep 2023 10:13:52 +0000 (+0200) Subject: flow/timeout: no need to wait for packetpool X-Git-Tag: suricata-7.0.3~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0dda7f535cc109c9bf77239d29574b34878e5ad8;p=thirdparty%2Fsuricata.git flow/timeout: no need to wait for packetpool The timeout logic no longer passes packets around, so don't depend on the packet pool. Bug: #6292. --- diff --git a/src/flow-timeout.c b/src/flow-timeout.c index 91dd872375..6a9b707c21 100644 --- a/src/flow-timeout.c +++ b/src/flow-timeout.c @@ -370,8 +370,6 @@ static inline void FlowForceReassemblyForHash(void) { for (uint32_t idx = 0; idx < flow_config.hash_size; idx++) { FlowBucket *fb = &flow_hash[idx]; - - PacketPoolWaitForN(9); FBLOCK_LOCK(fb); Flow *f = fb->head; @@ -380,7 +378,6 @@ static inline void FlowForceReassemblyForHash(void) /* we need to loop through all the flows in the queue */ while (f != NULL) { Flow *next_f = f->next; - PacketPoolWaitForN(3); FLOWLOCK_WRLOCK(f);