packet queue len member is now 32 bit unsigned from the previous 16 bit unsigned. Should take care of the overflow for now

remotes/origin/master-1.1.x
Anoop Saldanha 14 years ago committed by Victor Julien
parent 9256c7bf0a
commit b4887943fb

@ -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 */

@ -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);

Loading…
Cancel
Save