]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/alert: preprocess then append alert queue
authorJuliana Fajardini <jufajardini@gmail.com>
Tue, 19 Apr 2022 20:43:10 +0000 (17:43 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 3 May 2022 07:10:02 +0000 (09:10 +0200)
commitfaea583d9b34cf8f88b9e40f6e8feed6c4d70758
treeeccd6f375fc86500c0d5edc22a650aea37a54772
parent13fd8ced10f3dbbf838462608b6387f4d94cf8e6
detect/alert: preprocess then append alert queue

Do all alert queue processing before actually appending
the PacketAlerts to the Packet's alert queue.

Adjusted changes to use macro instead of functions, in cases where the
latter didn't exist in this branch.

Task #4943

(cherry picked from commit 185b43edff7f3f9db0c919663eb02ceb49787a8f)
src/decode.h
src/detect-engine-alert.c