The branch stable/13 has been updated by kp:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1d673cc1fd82263ef914f314942412da6047e1e5

commit 1d673cc1fd82263ef914f314942412da6047e1e5
Author:     Kajetan Staszkiewicz <k...@freebsd.org>
AuthorDate: 2024-11-21 20:30:58 +0000
Commit:     Kristof Provost <k...@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);

Reply via email to