The branch main has been updated by ks: URL: https://cgit.FreeBSD.org/src/commit/?id=1a5dc6ee62b316b0caad5118dc0f3aee036f1958
commit 1a5dc6ee62b316b0caad5118dc0f3aee036f1958 Author: Kajetan Staszkiewicz <k...@freebsd.org> AuthorDate: 2024-11-21 20:30:58 +0000 Commit: Kajetan Staszkiewicz <k...@freebsd.org> 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);