[Oisf-devel] [COMMIT] OISF branch, master, updated. suricata-3.2-67-g3c64cfb
OISF Git
noreply at openinfosecfoundation.org
Thu Jan 26 15:11:08 UTC 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OISF".
The branch, master has been updated
via 3c64cfb384dd82372644fc3ff1e6e5d0c7b82043 (commit)
from f73806211a93f40873d08d865c51fba3e3d11ce9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3c64cfb384dd82372644fc3ff1e6e5d0c7b82043
Author: Victor Julien <victor at inliniac.net>
Date: Thu Jan 26 10:16:53 2017 +0100
threads: fix missed logging at shutdown
At shutdown, all flows that still need work are handled by the flow
force reassembly logic. This means one or more flow end pseudo packets
are generated and pushed through the engine for final detection and
logging.
In some cases this would not work correctly. This was caused by the
flow timeout logic kicking in before all the 'live' packets were
processed. Before the flow timeout handling runs the receive threads
are disabled, however the engine did not wait for the in-flight
packets to be fully processed. In autofp mode, packets could still
be in the queue between receive thread(s) and flow worker(s).
This patch adds a new function that 'drains' all the packet threads
of any in-progress packets before moving on the flow timeout logic.
Bug #1946.
-----------------------------------------------------------------------
Summary of changes:
src/tm-threads.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
hooks/post-receive
--
OISF
More information about the Oisf-devel
mailing list