Merge in SNORT/snort3 from ~JALIIMRA/snort3:rebuilt_packet_check to master
Squashed commit of the following:
commit
419853bf07117f2560b50a3f18ff9e9d41f461a1
Author: Juweria Ali Imran <jaliimra@shaslad-ws.cisco.com>
Date: Thu Sep 18 22:56:40 2025 -0400
stream: do not clear a session on a rebuilt packet
// this also handles block pending state
// must only be done for terminal packets to avoid yoinking stream_tcp state
// while processing a PDU
- if ( !p->has_parent() )
+ if ( !p->has_parent() and !p->is_rebuilt() )
Stream::check_flow_closed(p);
clear_events(p);