Project

General

Profile

Bug #1946 » 1946.patch

Paulo Pacheco, 12/04/2016 01:10 PM

View differences:

src/suricata.c
TmThreadDisableReceiveThreads();
if (suri.run_mode != RUNMODE_UNIX_SOCKET) {
/* we need a packet pool for FlowForceReassembly */
PacketPoolInit();
FlowForceReassembly();
/* kill receive threads when they have processed all
* flow timeout packets */
TmThreadDisablePacketThreads();
}
......
FlowDisableFlowRecyclerThread();
}
if (suri.run_mode != RUNMODE_UNIX_SOCKET) {
/* we need a packet pool for FlowForceReassembly */
PacketPoolInit();
FlowForceReassembly();
}
/* kill remaining threads */
TmThreadKillThreads();
(5-5/5)