]> git.ipfire.org Git - thirdparty/suricata.git/commit
flowworker: simplify pseudo packet use 8888/head
authorVictor Julien <vjulien@oisf.net>
Mon, 15 May 2023 08:02:26 +0000 (10:02 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 16 May 2023 09:56:08 +0000 (11:56 +0200)
commit3247e39f0c6824b0fde20cfa8f4bbb596217eed2
treebf0b7d72debf5aa760afe4b1005ddec397838072
parentd47dba27bf802dd78cdae41d9088159586c50c86
flowworker: simplify pseudo packet use

Pseudo packets originating in the flow worker do not need to leave the
flow worker. Putting those in the ThreadVars::decode_pq will make them
be evaluated by the next steps in the pipeline, but those will all
ignore pseudo packets.

Instead, this patch returns them to the packet pool, while still honoring
the IPS verdict logic.
src/flow-worker.c