From: Victor Julien Date: Mon, 7 Sep 2020 10:57:59 +0000 (+0200) Subject: flow/bypass: don't bypass on flow timeout pseudo packets X-Git-Tag: suricata-6.0.0-rc1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd82486e299cefa2ca153e505d9ff4c6fcde92a;p=thirdparty%2Fsuricata.git flow/bypass: don't bypass on flow timeout pseudo packets --- diff --git a/src/decode.c b/src/decode.c index 20f4f06ae2..14506588b9 100644 --- a/src/decode.c +++ b/src/decode.c @@ -407,6 +407,9 @@ void PacketDefragPktSetupParent(Packet *parent) */ void PacketBypassCallback(Packet *p) { + if (PKT_IS_PSEUDOPKT(p)) + return; + #ifdef CAPTURE_OFFLOAD /* Don't try to bypass if flow is already out or * if we have failed to do it once */