From 358f1e35eed415d57cf24500deb58d1224c67b71 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 27 Feb 2024 17:19:54 -0600 Subject: [PATCH] pfring: fix leak of packet on exit Bug: #4734 --- src/source-pfring.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/source-pfring.c b/src/source-pfring.c index 40a42723d6..09efe8ac04 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -430,6 +430,7 @@ TmEcode ReceivePfringLoop(ThreadVars *tv, void *data, void *slot) } } else if (unlikely(r == 0)) { if (suricata_ctl_flags & SURICATA_STOP) { + TmqhOutputPacketpool(ptv->tv, p); SCReturnInt(TM_ECODE_OK); } -- 2.47.3