]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow/inject: Ensure initialized thread value used
authorJeff Lucovsky <jeff.lucovsky@corelight.com>
Mon, 11 Mar 2024 18:57:16 +0000 (14:57 -0400)
committerJeff Lucovsky <jlucovsky@oisf.net>
Sat, 30 Mar 2024 12:20:00 +0000 (08:20 -0400)
commit4331da4b67d44e96b94b2eae65d5c3f147409d13
tree4e1e1f834e69706438ab9e53545dc1baf2b34c57
parent80d2c6e0a1a10b7378534a265e11127280f19af1
flow/inject: Ensure initialized thread value used

Issue: 6835

When injecting a flow, ensure that the selected thread_id has been
initialized. When a flow is picked up midstream, the initialized thread
can be the second thread element.

(cherry picked from commit 9ad73faa0a52428e47412474514b125fda6aa03d)
src/flow-timeout.c