Page MenuHomeFreeBSD

libpfctl: Fix u_* counters
ClosedPublic

Authored by kp on Apr 8 2021, 12:36 PM.
Tags
None
Referenced Files
F154289034: D29645.id.diff
Mon, Apr 27, 3:25 PM
Unknown Object (File)
Sat, Apr 25, 11:25 AM
Unknown Object (File)
Sat, Apr 25, 1:06 AM
Unknown Object (File)
Fri, Apr 24, 3:39 AM
Unknown Object (File)
Wed, Apr 22, 10:17 PM
Unknown Object (File)
Fri, Apr 17, 4:13 AM
Unknown Object (File)
Thu, Apr 16, 9:42 AM
Unknown Object (File)
Thu, Apr 16, 2:58 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