flow: add defensive check

pull/11353/head
Shivani Bhardwaj 2 years ago committed by Victor Julien
parent a87c8eb46f
commit 14cd594d3c

@ -566,6 +566,7 @@ static uint32_t FlowCleanupHash(void)
FlowWakeupFlowRecyclerThread(); FlowWakeupFlowRecyclerThread();
} }
} }
DEBUG_VALIDATE_BUG_ON(local_queue.len >= 25);
FlowQueueAppendPrivate(&flow_recycle_q, &local_queue); FlowQueueAppendPrivate(&flow_recycle_q, &local_queue);
FlowWakeupFlowRecyclerThread(); FlowWakeupFlowRecyclerThread();

Loading…
Cancel
Save