From nobody Wed Dec 6 14:41:57 2023 X-Original-To: pf@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Slg8k2mYgz53XMD for ; Wed, 6 Dec 2023 14:41:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Slg8k1gVTz4K1j for ; Wed, 6 Dec 2023 14:41:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701873718; a=rsa-sha256; cv=none; b=KBi27BmYj1mAmsy/4F5ycLzH6TdJDY8JluxIqxCkObrh3pYmyJvf+rJzQ8mkJ+LiU2J3bI IcwxJAjrVUjsZzuazDFxZ+yS0OpNXWCPQieQDFAvl9MghJBUadvUN6eB7iS1y2z/B120Aa 5qXQMwPCarLywE1I9xxQzpgo8J2b+UMpDIQmg+XAaAYEd9ZB8XgLcBYnwaF57UdKR2vANY vWJ9oLWORnKuSXy6mV0/bf34lnOyT65eu3CSPFcZAv0550UYYWBvnRz0qep5TfknlFuhzM j0u/xw8hW/2RwFfDOhdspCSgdAVKE4L8Xr0EkLBTePbHWVAHFsWRf1xlM3nuXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701873718; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VAU+d11gPMt6Ea9qeWORLSdM0hc856f6k95xXPFV8NQ=; b=SSvS11SsJfD0bWgO0GNWLWVDQ3ToezBO5MDPnAIdJh0X564Jb1J7ZtoBL19CsdlPXSqxPP /xrsDSw6iMzwWEWx/bZizvPLXW1iWHkeJRooEY677ew+tTb+JSmnyrBSdz/WuajS5dMCdN UfDGNlr9/JbrtcfQ/ZsmUbKUxefnT/Ov+hMQterL1cJFGFROt98Sa9IM1cg0rzqh8VIKkx ePuXN4FZrDLy4rsieVHkfUIh23RzrPDpp/6/uk2hEXe8efO/FF/zo6Z/qS/nCLG0i1otP/ 7lnMeBKxlzxU6dinqVUudvYIDD8r9ApXgrwE5qkD7v8zioBGBlVPWoq/H3OQnw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Slg8k0nL2zx8p for ; Wed, 6 Dec 2023 14:41:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B6Efw2J047387 for ; Wed, 6 Dec 2023 14:41:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B6EfwXa047377 for pf@FreeBSD.org; Wed, 6 Dec 2023 14:41:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 274310] pf leaks memory Date: Wed, 06 Dec 2023 14:41:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: thj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274310 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D05c55eed44e53a3a5473451d105f81ce3= 6ef375a commit 05c55eed44e53a3a5473451d105f81ce36ef375a Author: Igor Ostapenko AuthorDate: 2023-11-29 12:35:41 +0000 Commit: Kristof Provost CommitDate: 2023-12-06 13:23:33 +0000 pf: fix mem leaks upon vnet destroy Add missing cleanup actions: - remove user defined anchor rulesets - remove user defined ether anchor rulesets - remove tables linked to user defined anchors - deal with wildcard anchor peculiarities to get them removed correctly PR: 274310 Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42747 (cherry picked from commit 0626d30e41cba64b41667314c3a4f7611f0eb685) sys/netpfil/pf/pf_ioctl.c | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Wed Dec 6 14:41:59 2023 X-Original-To: pf@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Slg8m1YB5z53XDs for ; Wed, 6 Dec 2023 14:42:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Slg8l71vrz4K2R for ; Wed, 6 Dec 2023 14:41:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701873720; a=rsa-sha256; cv=none; b=Q2laBpG4njkeTPBDqYe2i93XZRmRGprJNKgpEpJzGMvgcdhH2TH7Av4xXEpe/7ThxsSldW F35/Pr0CPSeftFwUZsfVLE1nMapfK0s+Qowtv8qboUg9u5LtO8Ph91OKaG/oLvquP0z6zK uEbDmMHmZ+gA9jc1I/097oqbyNyqf82vUZDdEikzvEK5KqTW1zgKvtPedfm6Hk3UpMq6Uq XgI+eqGiDimMBhU8vIHfRcD6K4hRGbcudbL1nEow6yebLhcooqevwbZig0BVqIiSaRp6YC P1Ly22qRVv0p8gBNi1Y46PdQtfpZg7s3Q2GWGaShihnkZ1zwnqCB5/+XTFrTAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701873720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ArXQVFvBt8lyZ0LEG6coO0Kw/PokKwtvC2Kk8PqH4oQ=; b=qMwcuINPDprRnAARvrmLrKEMIiNT+dlR9IIBCI8sO6ez8eASIU4sWVchs6oGS+egR+T7H7 mc8NAXm7QNK2G+pCoARRiFqmK7xkXuWqZepdRkMfl6k41cff/SgCXzA3QU3M6tpAbjCY1T sSdCP3kdG55EZPh6S05oG0ZbSGySkgJ3PbeJhSy/IMI+h03LtY8P1RqfAgaTnOwm0cNfL+ +CkwXUsAdOtZBcLSUeVVRLDQy6VGI12rCvcMmhj6DbTAk3nKBI3gA3wpd/MtkDkcJORWCq XpB6D2I1VcHPFs4apgB3kmvu41rrE6K28GEPDDrF4d7iJKhUOaMuPnwoz797bQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Slg8l64Ntzx8q for ; Wed, 6 Dec 2023 14:41:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3B6EfxTq048248 for ; Wed, 6 Dec 2023 14:41:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3B6Efx1S048247 for pf@FreeBSD.org; Wed, 6 Dec 2023 14:41:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: pf@FreeBSD.org Subject: [Bug 274310] pf leaks memory Date: Wed, 06 Dec 2023 14:41:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: thj@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274310 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D285b505a4ee0ab2fdc8f970e7d23a6d30= 91dc686 commit 285b505a4ee0ab2fdc8f970e7d23a6d3091dc686 Author: Igor Ostapenko AuthorDate: 2023-11-29 12:35:41 +0000 Commit: Kristof Provost CommitDate: 2023-12-06 09:08:25 +0000 pf: fix mem leaks upon vnet destroy Add missing cleanup actions: - remove user defined anchor rulesets - remove user defined ether anchor rulesets - remove tables linked to user defined anchors - deal with wildcard anchor peculiarities to get them removed correctly PR: 274310 Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42747 (cherry picked from commit 0626d30e41cba64b41667314c3a4f7611f0eb685) sys/netpfil/pf/pf_ioctl.c | 67 ++++++++++++++++++++++++++++++++++++++++++-= ---- 1 file changed, 60 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=