[Bug 282984] pfctl: add -T `makezero` to touch pfras_tzero _only_ for non-zero entries

[email protected]
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282984

--- Comment #19 from [email protected] ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=635c2b82f60e7417746a03d4d22c7fafd08f7e7c

commit 635c2b82f60e7417746a03d4d22c7fafd08f7e7c
Author:     Leonid Evdokimov <[email protected]>
AuthorDate: 2025-01-02 09:30:06 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2025-01-16 08:42:04 +0000

    pf tests: check cleared time when zeroing stats for table addresses

    Verify that we reset the cleared time when we zero an address' counters in
    a table.

    PR:             282877, 282984
    Reviewed by:    kp
    MFC after:      2 weeks
    Signed-off-by:  Leonid Evdokimov <[email protected]>
    Differential Revision:  https://reviews.freebsd.org/D48242

    (cherry picked from commit 0749d8134300b8e3c956e161890ab496247d2542)

 tests/sys/netpfil/pf/table.sh | 33 +++++++++++++++++++++++++++++++--
 1 file changed, 31 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.