]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow/worker: refresh detect thread during housekeeping
authorVictor Julien <vjulien@oisf.net>
Thu, 6 Apr 2023 13:43:41 +0000 (15:43 +0200)
committerVictor Julien <vjulien@oisf.net>
Thu, 13 Apr 2023 05:34:43 +0000 (07:34 +0200)
commit6658300c84fe5c1a883667e6e9d87637ed40da01
tree9b54660202afbd24ee43cc90fcb2ad77de39431f
parent42786aef59d20814b703c2b94f2ef117199c5e83
flow/worker: refresh detect thread during housekeeping

During housekeeping multiple flows are processed. If a rule reload happens
at that time, we need to use the new detect thread as soon as possible.

Bug: #5969.
(cherry picked from commit 5e4cf182abf72ab33e56d4e17c261c025b4ce766)
src/flow-worker.c