Merge in SNORT/snort3 from ~RDEMPSTE/snort3:flush_active to master
Squashed commit of the following:
commit
e9c711082f06c49a1859fb4adcd4eb35831dc30d
Author: Ron Dempster (rdempste) <rdempste@cisco.com>
Date: Tue Sep 20 11:01:54 2022 -0400
detection: refactor set next packet to use the dummy active object when there is no packet
p->action = parent->action;
}
- // processing but parent is already gone (flow cache flush etc..)
- else if ( Analyzer::get_switcher()->get_context() )
- {
- p->daq_msg = nullptr;
- p->daq_instance = nullptr;
- p->active = get_current_packet()->active;
- p->action = get_current_packet()->action;
- }
-
+ // processing but parent is already gone (flow cache flush etc..) or
// shutdown, so use a dummy so null checking is not needed everywhere
else
{