]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: remove unused flow_locked hint
authorVictor Julien <victor@inliniac.net>
Fri, 23 Dec 2016 13:59:11 +0000 (14:59 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 30 Jan 2017 16:47:50 +0000 (17:47 +0100)
src/detect.c
src/detect.h

index 448e41612b03f10a6814714068c846737280687c..479d0db192a2e0ac211989e344a2d5bd754de830 100644 (file)
@@ -1734,9 +1734,7 @@ TmEcode Detect(ThreadVars *tv, Packet *p, void *data, PacketQueue *pq, PacketQue
     }
 
     if (p->flow) {
-        det_ctx->flow_locked = 1;
         DetectFlow(tv, de_ctx, det_ctx, p);
-        det_ctx->flow_locked = 0;
     } else {
         DetectNoFlow(tv, de_ctx, det_ctx, p);
     }
index 9021c940dcdc69754b90576e46f36b328f248f5f..d0c0e58b4e62f4d6bf892d6d7327cd03c89ec43e 100644 (file)
@@ -838,10 +838,6 @@ typedef struct DetectEngineThreadCtx_ {
     /* counter for the filestore array below -- up here for cache reasons. */
     uint16_t filestore_cnt;
 
-    /* bool to hint the POSTMATCH list members about the lock status of the
-     * flow. If locked this is TRUE, unlocked or no-flow: FALSE */
-    uint8_t flow_locked;
-
     HttpReassembledBody *hsbd;
     uint64_t hsbd_start_tx_id;
     uint16_t hsbd_buffers_size;