]> git.ipfire.org Git - thirdparty/suricata.git/commit
thash/memcap: Use atomics for memcap
authorJeff Lucovsky <jlucovsky@oisf.net>
Sun, 27 Oct 2024 13:53:31 +0000 (09:53 -0400)
committerVictor Julien <victor@inliniac.net>
Wed, 13 Nov 2024 09:53:58 +0000 (10:53 +0100)
commit83bdcda932b369da2d82857168b27442b8a8fbbf
tree9b0b798d973e05e1ffc15550895ba4154b92d2a0
parentf23fec0c643e1f1c50af8b3b1958e94a443bdaca
thash/memcap: Use atomics for memcap

Issue: 845

Maintain the memcap as an atomic counter so changes through the
unix-socket interface can be supported.
src/util-thash.c
src/util-thash.h