flow: remove unused tcp reuse flow flag

pull/8562/head
Victor Julien 3 years ago
parent 7ef57cc7cb
commit 2bb1e5a38a

@ -695,8 +695,6 @@ static Flow *TcpReuseReplace(ThreadVars *tv, FlowLookupStruct *fls, FlowBucket *
#ifdef UNITTESTS
}
#endif
/* tag flow as reused so future lookups won't find it */
old_f->flags |= FLOW_TCP_REUSED;
/* time out immediately */
old_f->timeout_at = 0;
/* get some settings that we move over to the new flow */

@ -50,8 +50,8 @@ typedef struct AppLayerParserState_ AppLayerParserState;
#define FLOW_TO_SRC_SEEN BIT_U32(0)
/** At least one packet from the destination address was seen */
#define FLOW_TO_DST_SEEN BIT_U32(1)
/** Don't return this from the flow hash. It has been replaced. */
#define FLOW_TCP_REUSED BIT_U32(2)
// vacancy
/** Flow was inspected against IP-Only sigs in the toserver direction */
#define FLOW_TOSERVER_IPONLY_SET BIT_U32(3)

Loading…
Cancel
Save