git: 6c7cef47bdd0 - stable/14 - pf: Set cleared time when zeroing stats for table addresses
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Dec 2024 18:04:08 UTC
The branch stable/14 has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=6c7cef47bdd037e0656e48962af84ca307da4175
commit 6c7cef47bdd037e0656e48962af84ca307da4175
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: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);