Move PACKET_RECYCLE outside of flow lock in FlowForceReassemblyForQ as it confuses static code checkers.

remotes/origin/master
Victor Julien 14 years ago
parent e21d8cdf01
commit 0d6f33a15b

@ -454,10 +454,10 @@ static inline void FlowForceReassemblyForQ(FlowQueue *q)
/* we need to loop through all the flows in the queue */
while (f != NULL) {
SCMutexLock(&f->m);
PACKET_RECYCLE(reassemble_p);
SCMutexLock(&f->m);
/* Get the tcp session for the flow */
ssn = (TcpSession *)f->protoctx;

Loading…
Cancel
Save