Flow Manager skips rows based on a minimized tracker that tracks the
next second at which the first flow may time out.
If seconds match a flow can still be timing out.
Flow *next_f = NULL;
FLOWLOCK_WRLOCK(f);
const bool timedout =
- (fb_nextts < (uint32_t)SCTIME_SECS(p->ts) && FlowIsTimedOut(f, p->ts, emerg));
+ (fb_nextts <= (uint32_t)SCTIME_SECS(p->ts) && FlowIsTimedOut(f, p->ts, emerg));
if (timedout) {
next_f = f->next;
MoveToWorkQueue(tv, fls, fb, f, prev_f);