From 0dda7f535cc109c9bf77239d29574b34878e5ad8 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 12 Sep 2023 12:13:52 +0200 Subject: [PATCH] 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. --- src/flow-timeout.c | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.47.3