Page MenuHomeFreeBSD

pf: Reduce the data returned in DIOCGETSTATESNV
ClosedPublic

Authored by kp on Jun 29 2021, 7:38 PM.
Tags
None
Referenced Files
F161562670: D30944.id.diff
Sat, Jul 4, 9:45 PM
Unknown Object (File)
Sat, Jul 4, 5:10 AM
Unknown Object (File)
Sun, Jun 21, 6:47 PM
Unknown Object (File)
Tue, Jun 16, 7:58 PM
Unknown Object (File)
Fri, Jun 12, 1:07 AM
Unknown Object (File)
Thu, Jun 11, 5:37 AM
Unknown Object (File)
May 28 2026, 7:01 AM
Unknown Object (File)
May 11 2026, 3:01 AM

Details

Summary

This call is particularly slow due to the large amount of data it
returns. Remove all fields pfctl does not use. There is no functional
impact to pfctl, but it somewhat speeds up the call.

It might affect other (i.e. non-FreeBSD) code that uses the new
interface, but this call is very new, so there's unlikely to be any. No
releases contained the previous version, so we choose to live with the
ABI modification.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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