]> git.ipfire.org Git - people/ms/suricata.git/commit - src/app-layer-parser.c
tx: fix unidir tx cleanup
authorJason Ish <jason.ish@oisf.net>
Thu, 22 Apr 2021 15:38:24 +0000 (09:38 -0600)
committerJason Ish <jason.ish@oisf.net>
Thu, 22 Apr 2021 15:44:54 +0000 (09:44 -0600)
commitafaa18c5ad183d068795cf15d21d3642814ceb23
tree08b44c0b7eb465da58183e48aefe00fc662cd4fe
parentfc7a443c3f68e21162126e9b46d2ad5508511b2a
tx: fix unidir tx cleanup

A unidirection protocol parser should only have its transactions
marked as "skipped" if it is skipped in both the TS and TC
directions, otherwise unidir transactions are always considered
skipped and the cleanup will never updates its minimum id.

Redmine issue:
https://redmine.openinfosecfoundation.org/issues/4437
src/app-layer-parser.c