Date: Fri, 27 Dec 2024 18:04:13 GMT From: Kristof Provost <kp@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 1d673cc1fd82 - stable/13 - pf: Set cleared time when zeroing stats for table addresses Message-ID: <202412271804.4BRI4DZc051198@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=1d673cc1fd82263ef914f314942412da6047e1e5 commit 1d673cc1fd82263ef914f314942412da6047e1e5 Author: Kajetan Staszkiewicz <ks@FreeBSD.org> AuthorDate: 2024-11-21 20:30:58 +0000 Commit: Kristof Provost <kp@FreeBSD.org> 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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412271804.4BRI4DZc051198>