]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow-bypass: Set bypass thread to running state
authorVincent Li <vincent.mc.li@gmail.com>
Fri, 4 Aug 2023 17:49:35 +0000 (17:49 +0000)
committerVictor Julien <victor@inliniac.net>
Thu, 25 Jan 2024 12:18:04 +0000 (13:18 +0100)
commit4a7c6e0007363a263a10224d386e41ceee9b01aa
tree2432c7f04d02149ce50bd1486e58968b13c2872a
parente6646c8f3f7d0a8aab5a9c9c246a1e10ba74151f
flow-bypass: Set bypass thread to running state

When running Suricata in XDP bypass mode (bypass: yes),

Suricata started up with error:
Error: threads: thread "FB" failed to start in time: flags 0003

"FB" thread does not transition from THV_INIT_DONE to THV_RUNNING.

Set "FB" thread THV_RUNNING state in BypassedFlowManager().

Bug: #6254

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
(cherry picked from commit f80d26db0b62d4a547290a1cf536754f79927a3b)
src/flow-bypass.c