From nobody Fri Dec 27 18:04:13 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 4YKYKV1PnKz5j70B; Fri, 27 Dec 2024 18:04:14 +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 4YKYKT73nKz4Gkd; Fri, 27 Dec 2024 18:04:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735322654; 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=Rg2AMziURnw7fCz/qSxMx3HfYYHw+R3q2JJB7pYfE/8=; b=Pd/s0zxMRs5YmHkCr0fdEIybWz1bEAb5/BL9zgiJdKPQVpbCG64MLEARW914r6ocoBRI8H S/fWdes5TQJZJvFag92G42VdVMxEJdJk130DL7VN6DdeFGMczqKyKIiSZOAMAptwq+U5hW lXrrqziM3sm13TwaX6ZOxMqBuXfckPopXcR7FDtc7f6l+D2IE5Kv3PH+R2n+SlVLkxo116 rGMvioKKG9oprkeaPD3x6aFno5V++iZrrDMtQ0SVdeUwS+54xJhP93OmPsBh3YmRj2JDlX ml7gtzHRiysoBfGhfsyqidO8Ql2B5h3BmHhgki5oe/0Eg+4U7MpeEa5duhpt/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735322654; 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=Rg2AMziURnw7fCz/qSxMx3HfYYHw+R3q2JJB7pYfE/8=; b=UHjs1pNOqiRHEHjYPGEkZkp+lbCQMxSaoukGkMRXtX/jVkHFgX8p5SOWF1PdxcZoxG1g2y SO/bUBV/Qd8o6QsmLlVHbeofB+/t9dJOcyzlnd0HYH9rSalUVzrozKmXh0U8P6bz2Ih0e0 vRWtQ77cNYZNgvVIsmkNk/MapBO/9anvhJwldlU/xCWf3hE9Svye4SbkIGMyKBe9ppfZsk Zo9LvGHyRdGH2krkHd7fjP1QRRrGPYFUqtBlEa9g5um52A28NL9JyvJrItE0Ijq/vqnafz NWLkB1R/pkXmmbf08AW/XuH3h/IyhsZ5KEnNjOIYk2j00M5jQUGR+PVmPh+qhQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735322654; a=rsa-sha256; cv=none; b=xCO/7AvM759yLU12bFHYhIjYl+iP/WlB3I4qbQde2azbowByI3lMrkzhKIN5U/Foq6gbUT LvK4OftwBIEwOXheUg4TdCHWHhjrk6ZY7CAy9U6Tw0/ZoeT6o9EI9yyRwha1e2qXKLK6k7 jRUQeKh/6Rd1++c7vzwsGhujuXjR4FsCC9oYPCaMkLvSHiOWoOGkLeinD42C1/PhhAYTss HDSp1q3YNN0YacrU9IrT0uu0fRmKZ7qtmYNuoaNu16ZmwZeuWlWBaORxKIS0L8Ul4bCXQE 9NWgQIKxAbHNgSwx4rT7e2fZdvBCymyIcKDmfY91hW4xQLEZdCjIhYad+KXiZA== 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 4YKYKT6h7bzq61; Fri, 27 Dec 2024 18:04:13 +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 4BRI4DOw051201; Fri, 27 Dec 2024 18:04:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BRI4DZc051198; Fri, 27 Dec 2024 18:04:13 GMT (envelope-from git) Date: Fri, 27 Dec 2024 18:04:13 GMT Message-Id: <202412271804.4BRI4DZc051198@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: 1d673cc1fd82 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 1d673cc1fd82263ef914f314942412da6047e1e5 Auto-Submitted: auto-generated The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=1d673cc1fd82263ef914f314942412da6047e1e5 commit 1d673cc1fd82263ef914f314942412da6047e1e5 Author: Kajetan Staszkiewicz AuthorDate: 2024-11-21 20:30:58 +0000 Commit: Kristof Provost CommitDate: 2024-12-27 18:03:56 +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 275c191f022f..7ce29d52f3eb 100644 --- a/sys/netpfil/pf/pf_table.c +++ b/sys/netpfil/pf/pf_table.c @@ -675,7 +675,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);