From: Victor Julien Date: Wed, 12 Mar 2025 11:05:41 +0000 (+0100) Subject: detect: skip duplicate nopacket inspect check X-Git-Tag: suricata-8.0.0-beta1~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4ae92319fc96f5b630fbcc7730d5ef437789488;p=thirdparty%2Fsuricata.git detect: skip duplicate nopacket inspect check --- diff --git a/src/detect.c b/src/detect.c index 3cfe50bc7e..800db969c8 100644 --- a/src/detect.c +++ b/src/detect.c @@ -110,12 +110,6 @@ static void DetectRun(ThreadVars *th_v, : "noflow", PktSrcToString(p->pkt_src)); - /* bail early if packet should not be inspected */ - if (p->flags & PKT_NOPACKET_INSPECTION) { - /* nothing to do */ - SCReturn; - } - /* Load the Packet's flow early, even though it might not be needed. * Mark as a constant pointer, although the flow itself can change. */ Flow * const pflow = p->flow;