[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 #20 from [email protected] ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3870483ec496544c5c1d1b29903cb2ca6872646d

commit 3870483ec496544c5c1d1b29903cb2ca6872646d
Author:     Leonid Evdokimov <[email protected]>
AuthorDate: 2025-01-02 09:30:06 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2025-01-16 15:20:34 +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.