From nobody Wed Dec 06 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.=