]> git.ipfire.org Git - thirdparty/suricata.git/commit
pfring: fix leak of configuration data and in single mode 10533/head
authorJason Ish <jason.ish@oisf.net>
Tue, 27 Feb 2024 22:55:59 +0000 (16:55 -0600)
committerVictor Julien <victor@inliniac.net>
Thu, 29 Feb 2024 10:24:41 +0000 (11:24 +0100)
commitb6c609edbc8a9f0eb4cbea50d5c4b18a1c5b0ad1
tree868f38f96b853a8509377c328a23bcc1c6451804
parent3c83397cf0d70ba7703cb7256317c70b0990549b
pfring: fix leak of configuration data and in single mode

Fix leak of configuration data on exit. Also, in single mode set
thread count to one instead of the CPU count.

Bug: #4734
(cherry picked from commit 5f0853599b15adafdf47399375728d70a94c9867)
src/runmode-pfring.c
src/source-pfring.c