]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow/inject: Select thread_id by flow flag 10861/head
authorJeff Lucovsky <jeff.lucovsky@corelight.com>
Mon, 15 Apr 2024 14:17:17 +0000 (10:17 -0400)
committerVictor Julien <victor@inliniac.net>
Tue, 16 Apr 2024 13:19:07 +0000 (15:19 +0200)
commit6be6d53bc609adfd2670f5ddb78cfde2981d1224
tree58692d3ad2d2f41a2d01c98020128907977c728a
parentba46f2ff3e298fa1d930c77f44991b670284841c
flow/inject: Select thread_id by flow flag

Issue: 6957

Rather than selecting the thread_id index by packets traveling to the
server, use the flow flags. If the flow has been reversed, the second
slot is represents the thread id to be used.

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