From nobody Thu Nov 28 09:39:23 2024 X-Original-To: dev-commits-src-main@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 4XzWVN0Sr7z5fTNF; Thu, 28 Nov 2024 09:39:24 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XzWVM6htYz4Kx1; Thu, 28 Nov 2024 09:39:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732786763; 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=bYZk3qeA0ruaMGn80RaQKHntA3hAXuoPaUeGWsLinpA=; b=cS5KtQlxL7yQSoeB+bx9hz9g8kcgdqO5yY+qiy3Q8vUygvGQP184+VdZlgyqOzVQkHI5II 4+ENpohXU4gqI8YLwBKURJjhCoEHkQVssKt4WNeoVbQ721KwLMY7H0zONK1QbyRpA30wRh YHtAcl6vNtQke00NJAUu/t4awEGjY1Pdc8hEJyaDZORPAMtSOGTBPEQx+P2TPIoJBKlaw1 MUglpUgob35T/4arFFbZJHU0zu64A6DK2NKVxvO41CE59fGbrRULufx+pJpz7ajjd0xz/I aBE/Wp0enoOygH3lWIWt8vuaVhp+s1RME60xOI63M+5kpYmjb1+rtEUgdP1hRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732786763; 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=bYZk3qeA0ruaMGn80RaQKHntA3hAXuoPaUeGWsLinpA=; b=eFhMSQQgIh3kVKwS8Dj0V8n2NguCbDVbwiIpGn1Lr1sXonV+0/rvfeST30/2+3xPvPxDvi vkeePj5+XgWY+9Xb9xqQRlaCUHsheOgv94hzdN3J9s3hdNffsd+9ZK+RqBPz6qATvq948d pDvUTYGJZWEjFMyeiTWIEVnYbCTuKPBbmmtnoAAN3xJalUQsAwZo/2NYvoufydVrBYepAf oIA2Wq0Ger/kvRm1xhQZWd1glyuo0802vuIXesVX3IxTxxGYJXKkNOtsPsiHfmEwQ9E2xt rnik+wUeB+UBMqQVLpfPuVbnPTR9fZ9d8Mw9wxNM7tYXAN4L07/otEccNpmXAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732786763; a=rsa-sha256; cv=none; b=wnybS6r16h3tplBY/GfnauPzikLXCy8VVozRYsoem4jqlvwJU8eDBxxyLAIIs7NM0gI6HZ L5XVgHkQDlWygYWYXXdh9Zr74gQ4c+F+P72GCJvK8TEJjPsM0U10HGRb/zDfd9OvgXR6ZQ Af7l9sFkk62QywpDx2cxFmPRQx3ymUd+PvIs8SNzmjXPXSiIJMUr2PZuE6QvTF6QxCwNQK Ro7ydNngqMocry7qGy27OwvCNBNQ9hdQX7Hq9yYYcVgSIKbQC0H9XJJCzeyjJ7QHUQfsgS amLZ+GrnN7FcfaRoQbF/qCbPAi7Zl7pkUCS3YugYJI+a9Um+d8g+qVqW5dgwOg== 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 4XzWVM6GmKzYsY; Thu, 28 Nov 2024 09:39:23 +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 4AS9dNUi076629; Thu, 28 Nov 2024 09:39:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AS9dNui076626; Thu, 28 Nov 2024 09:39:23 GMT (envelope-from git) Date: Thu, 28 Nov 2024 09:39:23 GMT Message-Id: <202411280939.4AS9dNui076626@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kajetan Staszkiewicz Subject: git: 1a5dc6ee62b3 - main - pf: Set cleared time when zeroing stats for table addresses List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1a5dc6ee62b316b0caad5118dc0f3aee036f1958 Auto-Submitted: auto-generated The branch main has been updated by ks: URL: https://cgit.FreeBSD.org/src/commit/?id=1a5dc6ee62b316b0caad5118dc0f3aee036f1958 commit 1a5dc6ee62b316b0caad5118dc0f3aee036f1958 Author: Kajetan Staszkiewicz AuthorDate: 2024-11-21 20:30:58 +0000 Commit: Kajetan Staszkiewicz CommitDate: 2024-11-28 09:38:05 +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 --- 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 77bd466ec2b3..ce3a6b39ce91 100644 --- a/sys/netpfil/pf/pf_table.c +++ b/sys/netpfil/pf/pf_table.c @@ -665,7 +665,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);