flow engine: convert flow hash code FlowRequeue call to FlowEnqueue.

remotes/origin/master-1.2.x
Victor Julien 14 years ago
parent ad4e016288
commit 84c7480c06

@ -405,7 +405,7 @@ Flow *FlowGetFlowFromHash (Packet *p)
f->flags |= FLOW_NEW_LIST;
f->fb = fb;
FlowRequeue(f, NULL, &flow_new_q[f->protomap]);
FlowEnqueue(&flow_new_q[f->protomap], f);
SCSpinUnlock(&fb->s);
FlowHashCountUpdate;
@ -443,7 +443,7 @@ Flow *FlowGetFlowFromHash (Packet *p)
f->flags |= FLOW_NEW_LIST;
f->fb = fb;
FlowRequeue(f, NULL, &flow_new_q[f->protomap]);
FlowEnqueue(&flow_new_q[f->protomap], f);
SCSpinUnlock(&fb->s);
FlowHashCountUpdate;

Loading…
Cancel
Save