fix failing unittest

remotes/origin/master-1.1.x
Anoop Saldanha 14 years ago committed by Victor Julien
parent 0957c0f8a4
commit 552e72e35e

@ -599,12 +599,14 @@ static int FlowPrune(FlowQueue *q, struct timeval *ts, int try_cnt)
continue;
}
#ifndef UNITTESTS
if (FlowForceReassemblyForFlowV2(f) == 1) {
Flow *prev_f = f;
f = f->lnext;
SCMutexUnlock(&prev_f->m);
continue;
}
#endif
/* this should not be possible */
BUG_ON(SC_ATOMIC_GET(f->use_cnt) > 0);

Loading…
Cancel
Save