Active::resume();
}
-void FlowControl::preemptive_cleanup(const Packet* p)
+void FlowControl::preemptive_cleanup()
{
DebugFormat(DEBUG_FLOW, "doing preemptive cleanup for packet of type %d",
- static_cast<int>(p->type()));
+ last_pkt_type);
// FIXIT-L J is there a possibility of this looping forever?
while ( memory::MemoryCap::over_threshold() )
p->disable_inspect = flow->is_inspection_disabled();
last_pkt_type = p->type();
-
- preemptive_cleanup(p);
+ preemptive_cleanup();
if ( flow->flow_state )
set_policies(snort_conf, flow->policy_id);
void set_key(FlowKey*, Packet*);
unsigned process(Flow*, Packet*);
- void preemptive_cleanup(const Packet*);
+ void preemptive_cleanup();
private:
FlowCache* ip_cache;