As the FlowBypassedTimeout function is interacting with the capture
method it is possible that the return changes between the call that
did trigger the timeout and the actual state (ie if packets arrive
in between the two calls). So we should not use the call to
FlowBypassedTimeout in the assert.
f->next = NULL;
f->fb = NULL;
- DEBUG_VALIDATE_BUG_ON(f->use_cnt > 0 || !FlowBypassedTimeout(f, ts, counters));
+ DEBUG_VALIDATE_BUG_ON(f->use_cnt > 0);
FlowQueuePrivateAppendFlow(&td->aside_queue, f);
/* flow is still locked in the queue */