From nobody Fri Dec 27 18:04:08 2024 X-Original-To: dev-commits-src-all@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 4YKYKN3s1Zz5j709; Fri, 27 Dec 2024 18:04:08 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YKYKN3Hzqz4GMH; Fri, 27 Dec 2024 18:04:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735322648; 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; bh=6gEXJ5ad5EPMzR3uvmRGbRDJnr0U3H2yHSPbLik75c4=; b=KGE3H92nz4XwumWPhKCDyUJ3TTxpFqomlqWiki4INlbRnUB/MM/roxOOZli5N2T2Nngpr2 KHuexDmmKb/17rCpQiGghbsi0oA4sqdllJOwPXyqrWSDZ8q6iX17REuQzMRKsK/HNJlz+d gGnMOfrsynQJ4EBOVcRH4mi4sd0ssrw9vkwlTlkxRYU83v5bTOBVKFVt94IuG5pSFkR+yF TS207iEF7a7RQo4l8oT1kM/CJtNN6+6RvRBscPv8QrWx+j4wtMlXXnZApCExfnC98k0Ht2 OYcWKZ7+zlXn9o21xvzInOLFcVruyl3QDGL6aG1wlNoe2MNG45YZXjBekT5Ywg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735322648; 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; bh=6gEXJ5ad5EPMzR3uvmRGbRDJnr0U3H2yHSPbLik75c4=; b=whpI0tDBeiUcanvz8xAXqcVeAWUHZq2CCMkmPFDUrgmBa9CAPUSy4vnA2+lk9T3838LnkF w58Nmj3ao0hwld9CcTRZewO4MW76o/wyGxJK7q/BGRgdSILviWk2TkfXrNZpnsS0zqA7aF M6MIWGUjwSlCK9B6rm1GJsivTqFK8722VozD+va7xcmv+s2YWYIZqtcAbuPRjqovcG/tEn s/qRjeLkKEwBi4wN1rViycfX5LhccBeuw0oTow0IG9yY/SVDvmDZ2SSbMJglmp8o15SOW6 miRhJ9h9rKN6e4jstDL/IbIEUoe9fn8urAs+NAVpvhJYoyn4Gn//Y5zO//Ctcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735322648; a=rsa-sha256; cv=none; b=J2faaAUecMy1U4C21tbxI3tCHoy8sl8lBiS3g0phccTE80DBN11gVp0XxVfr5GSHigo3IU nDC9j2EWykfBTDtgRSjfeNiMBnYCrW33C4zpae8tUP9olHDj3SZIKuT3TIbM+nf+AQb0Zg 29PgMDYZlevalDQ+lyUpWWqo31rKj+GUH8Skg+a/iJzFwVDGQ3pmm4HBGNhNYX3wr0QcuZ AbG9pTJ4Ekla0mh/w7Q70ZxlGSw3wqq3ZYqshu7E2gWcogSVAI1C5vhdtNvNkq2ZZN1Bbb n/2PalQRsvvTW6wNprGKZrlH6PWTwqM4CCQ3QkMddmjbPQ6zQH5lhQVVoy3ocg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4YKYKN2tZfzpZH; Fri, 27 Dec 2024 18:04:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BRI48NF051039; Fri, 27 Dec 2024 18:04:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BRI484f051036; Fri, 27 Dec 2024 18:04:08 GMT (envelope-from git) Date: Fri, 27 Dec 2024 18:04:08 GMT Message-Id: <202412271804.4BRI484f051036@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Kristof Provost Subject: git: 6c7cef47bdd0 - stable/14 - pf: Set cleared time when zeroing stats for table addresses List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 6c7cef47bdd037e0656e48962af84ca307da4175 Auto-Submitted: auto-generated The branch stable/14 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=6c7cef47bdd037e0656e48962af84ca307da4175 commit 6c7cef47bdd037e0656e48962af84ca307da4175 Author: Kajetan Staszkiewicz AuthorDate: 2024-11-21 20:30:58 +0000 Commit: Kristof Provost CommitDate: 2024-12-27 18:03:53 +0000 pf: Set cleared time when zeroing stats for table addresses Reviewed by: kp Approved by: kp (mentor) Sponsored by: InnoGames GmbH Differential Revision: https://reviews.freebsd.org/D47697 (cherry picked from commit 1a5dc6ee62b316b0caad5118dc0f3aee036f1958) --- sys/netpfil/pf/pf_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netpfil/pf/pf_table.c b/sys/netpfil/pf/pf_table.c index b3e0da20422c..3004609e1702 100644 --- a/sys/netpfil/pf/pf_table.c +++ b/sys/netpfil/pf/pf_table.c @@ -669,7 +669,7 @@ pfr_clr_astats(struct pfr_table *tbl, struct pfr_addr *addr, int size, } if (!(flags & PFR_FLAG_DUMMY)) - pfr_clstats_kentries(kt, &workq, 0, 0); + pfr_clstats_kentries(kt, &workq, time_second, 0); if (nzero != NULL) *nzero = xzero; return (0);