Revert issue 8619 fix in favor of a more general change that
sets INSPECTED_T{S,C} correctly on passed flows. This makes clean no
longer need the FLOW_ACTION_PASS special case to free those
transactions.

Issue: 8621
pull/15713/head
Jeff Lucovsky 2 months ago
parent 006e21c1cc
commit 30d4edf9eb

@ -999,8 +999,7 @@ void AppLayerParserTransactionsCleanup(Flow *f, const uint8_t pkt_dir)
goto next; goto next;
} }
// for passing flow, do not skip tx as we will not run detection on the other side if (has_tx_detect_flags) {
if (has_tx_detect_flags && (f->flags & (FLOW_ACTION_PASS)) == 0) {
if (!IS_DISRUPTED(ts_disrupt_flags) && if (!IS_DISRUPTED(ts_disrupt_flags) &&
(f->sgh_toserver != NULL || (f->flags & FLOW_SGH_TOSERVER) == 0)) { (f->sgh_toserver != NULL || (f->flags & FLOW_SGH_TOSERVER) == 0)) {
if ((txd->flags & (APP_LAYER_TX_INSPECTED_TS | APP_LAYER_TX_SKIP_INSPECT_TS)) == if ((txd->flags & (APP_LAYER_TX_INSPECTED_TS | APP_LAYER_TX_SKIP_INSPECT_TS)) ==

Loading…
Cancel
Save