]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow/bypass: don't bypass on flow timeout pseudo packets 5376/head
authorVictor Julien <victor@inliniac.net>
Mon, 7 Sep 2020 10:57:59 +0000 (12:57 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 7 Sep 2020 12:24:48 +0000 (14:24 +0200)
src/decode.c

index 20f4f06ae2a0d9acd3c9a1a6c255b8eb6f0d4e90..14506588b98f16071e233367c288481ac36a3d67 100644 (file)
@@ -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 */