Page MenuHomeFreeBSD

libpfctl: Fix u_* counters
ClosedPublic

Authored by kp on Apr 8 2021, 12:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Sep 29, 8:40 AM
Unknown Object (File)
Mon, Sep 28, 9:41 AM
Unknown Object (File)
Thu, Sep 24, 10:08 AM
Unknown Object (File)
Sat, Sep 19, 5:05 PM
Unknown Object (File)
Sat, Sep 19, 6:51 AM
Unknown Object (File)
Wed, Sep 9, 7:36 PM
Unknown Object (File)
Sun, Sep 6, 9:26 AM
Unknown Object (File)
Sun, Sep 6, 9:19 AM
Subscribers

Details

Summary

struct pf_rule had a few counter_u64_t counters. Those couldn't be
usefully comminicated with userspace, so the fields were doubled up in
uint64_t u_* versions.

Now that we use struct pfctl_rule (i.e. a fully userspace version) we
can safely change the structure and remove this wart.

MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38412
Build 35301: arc lint + arc unit