From 14cd594d3c805fd56dfa239d9c443f1235b45e2a Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Thu, 13 Jun 2024 18:35:31 +0530 Subject: [PATCH] flow: add defensive check --- src/flow-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flow-manager.c b/src/flow-manager.c index 92eeea6b4a..d5def431a1 100644 --- a/src/flow-manager.c +++ b/src/flow-manager.c @@ -566,6 +566,7 @@ static uint32_t FlowCleanupHash(void) FlowWakeupFlowRecyclerThread(); } } + DEBUG_VALIDATE_BUG_ON(local_queue.len >= 25); FlowQueueAppendPrivate(&flow_recycle_q, &local_queue); FlowWakeupFlowRecyclerThread();