Squashed commit of the following:
commit
7cebab7b8118ab1539a7b1845f2d4b53ad2b74e8
Author: Kaushal Bhandankar <kbhandan@cisco.com>
Date: Sun Sep 20 18:36:46 2020 -0400
flow: stale and deleted flows due to EOF should generate would have dropped event
{
if ( p->pkth->flags & DAQ_PKT_FLAG_NEW_FLOW )
{
+ ActiveSuspendContext act_susp(Active::ASP_TIMEOUT);
+
if (PacketTracer::is_active())
PacketTracer::log("Session: deleting snort session, reason: stale and not cleaned \n");
ActiveAction* delayed_reject; // set with set_delayed_action()
};
-struct ActiveSuspendContext
+struct SO_PUBLIC ActiveSuspendContext
{
ActiveSuspendContext(Active::ActiveSuspendReason suspend_reason)
{ Active::suspend(suspend_reason); }