From f91d490d25ef03b86aaa26622afaa5f6fa210257 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Fri, 23 Dec 2016 14:59:11 +0100 Subject: [PATCH] detect: remove unused flow_locked hint --- src/detect.c | 2 -- src/detect.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/src/detect.c b/src/detect.c index 448e41612b..479d0db192 100644 --- a/src/detect.c +++ b/src/detect.c @@ -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); } diff --git a/src/detect.h b/src/detect.h index 9021c940dc..d0c0e58b4e 100644 --- a/src/detect.h +++ b/src/detect.h @@ -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;