Date: Tue, 9 Jan 2024 00:32:34 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f7459ca1e768 - stable/13 - pfil: don't leak pfil_head_t on interface detach Message-ID: <202401090032.4090WYPK027328@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=f7459ca1e768d76f6abe640f7dbcdc8f1aac0edb commit f7459ca1e768d76f6abe640f7dbcdc8f1aac0edb Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2023-12-21 18:53:49 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2024-01-09 00:31:38 +0000 pfil: don't leak pfil_head_t on interface detach PR: 256714 Submitted by: jcaplan@blackberry.com (cherry picked from commit c1c55da49fd55c01771f8cf1f7255a37b79735d7) --- sys/net/pfil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/pfil.c b/sys/net/pfil.c index 33b6be9fdade..f23702d2d905 100644 --- a/sys/net/pfil.c +++ b/sys/net/pfil.c @@ -251,6 +251,7 @@ pfil_head_unregister(pfil_head_t ph) free(link, M_PFIL); } PFIL_UNLOCK(); + free(ph, M_PFIL); } pfil_hook_t
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401090032.4090WYPK027328>