|
|
|
@ -238,11 +238,13 @@ static inline Packet *FlowForceReassemblyPseudoPacketGet(int direction,
|
|
|
|
TcpSession *ssn,
|
|
|
|
TcpSession *ssn,
|
|
|
|
int dummy)
|
|
|
|
int dummy)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Packet *p;
|
|
|
|
PacketPoolWait();
|
|
|
|
|
|
|
|
Packet *p = PacketPoolGetPacket();
|
|
|
|
p = PacketGetFromAlloc();
|
|
|
|
if (p == NULL) {
|
|
|
|
if (p == NULL)
|
|
|
|
|
|
|
|
return NULL;
|
|
|
|
return NULL;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PACKET_PROFILING_START(p);
|
|
|
|
|
|
|
|
|
|
|
|
return FlowForceReassemblyPseudoPacketSetup(p, direction, f, ssn, dummy);
|
|
|
|
return FlowForceReassemblyPseudoPacketSetup(p, direction, f, ssn, dummy);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -535,9 +537,11 @@ static inline void FlowForceReassemblyForHash(void)
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void FlowForceReassembly(void)
|
|
|
|
void FlowForceReassembly(void)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
/* called by 'main()' which has no packet pool */
|
|
|
|
|
|
|
|
PacketPoolInit();
|
|
|
|
/* Carry out flow reassembly for unattended flows */
|
|
|
|
/* Carry out flow reassembly for unattended flows */
|
|
|
|
FlowForceReassemblyForHash();
|
|
|
|
FlowForceReassemblyForHash();
|
|
|
|
|
|
|
|
PacketPoolDestroy();
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|