]> git.ipfire.org Git - thirdparty/suricata.git/commit
macset: remove dead flow init/cleanup code 9789/head
authorVictor Julien <vjulien@oisf.net>
Fri, 8 Sep 2023 08:01:41 +0000 (10:01 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 14 Nov 2023 18:28:13 +0000 (19:28 +0100)
commit6bb882c4c0157cb3edee561860baa4854a510619
tree23bb800f50d6510f94c1ea76545d1774c851a78f
parentde14e3d0b5d262a27238d08efc02f898c9a600cb
macset: remove dead flow init/cleanup code

FlowInit() will only be called on a newly allocated, or a fully cleaned
up flow, so no existing storage will exist.

The only caller of `FLOW_RECYCLE` first calls `FlowFreeStorage()`, so
the reset logic in `FLOW_RECYCLE` can never trigger.

Remove now unused MacSetReset logic.
src/flow-util.c
src/flow-util.h
src/util-macset.c