|
|
|
|
@ -512,10 +512,11 @@ static inline Flow *FlowSpareSync(ThreadVars *tv, FlowLookupStruct *fls,
|
|
|
|
|
if (spare_sync) {
|
|
|
|
|
if (f != NULL) {
|
|
|
|
|
StatsAddUI64(tv, fls->dtv->counter_flow_spare_sync_avg, fls->spare_queue.len+1);
|
|
|
|
|
} else if (f == NULL && fls->spare_queue.len == 0) {
|
|
|
|
|
if (fls->spare_queue.len < 99) {
|
|
|
|
|
StatsIncr(tv, fls->dtv->counter_flow_spare_sync_incomplete);
|
|
|
|
|
}
|
|
|
|
|
} else if (fls->spare_queue.len == 0) {
|
|
|
|
|
StatsIncr(tv, fls->dtv->counter_flow_spare_sync_empty);
|
|
|
|
|
} else if (f != NULL && fls->spare_queue.len < 99) {
|
|
|
|
|
StatsIncr(tv, fls->dtv->counter_flow_spare_sync_incomplete);
|
|
|
|
|
}
|
|
|
|
|
StatsIncr(tv, fls->dtv->counter_flow_spare_sync);
|
|
|
|
|
}
|
|
|
|
|
|