From b4887943fb00998c9a5c1cebce9fd05dc899400c Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Mon, 12 Sep 2011 22:56:43 +0530 Subject: [PATCH] packet queue len member is now 32 bit unsigned from the previous 16 bit unsigned. Should take care of the overflow for now --- src/decode.h | 2 +- src/flow.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/decode.h b/src/decode.h index 06634e422e..bc79715ec6 100644 --- a/src/decode.h +++ b/src/decode.h @@ -468,7 +468,7 @@ intmax_t default_packet_size; typedef struct PacketQueue_ { Packet *top; Packet *bot; - uint16_t len; + uint32_t len; #ifdef DBG_PERF uint16_t dbg_maxlen; #endif /* DBG_PERF */ diff --git a/src/flow.c b/src/flow.c index 791cda488e..6ed6a85b2b 100644 --- a/src/flow.c +++ b/src/flow.c @@ -353,8 +353,6 @@ static inline int FlowForceReassemblyForFlowV2(ThreadVars *tv, Flow *f) return 1; } - f->flags |= FLOW_TIMEOUT_REASSEMBLY_DONE; - /* move this unlock after the strream reassemble call */ SCSpinUnlock(&f->fb->s);