Squashed commit of the following:
commit
391fafa2b7a5e3678d582bea4223d887ba96f4e8
Author: Carter Waxman <cwaxman@cisco.com>
Date: Wed Mar 14 15:27:42 2018 -0400
detection: fixed uninitialized MpseStash
static const unsigned max = 32;
void init()
- { if ( enable ) { count = flushed = 0; } }
+ {
+ if ( enable )
+ count = flushed = 0;
+ }
// this is done in the offload thread
bool push(void* user, void* tree, int index, void* list);
{
IpsContext* c = p->context;
MpseStash* stash = c->stash;
+ stash->enable_process();
stash->init();
stash->disable_process();
init_match_info(c->otnx, true);