Page MenuHomeFreeBSD

pf: Reduce the data returned in DIOCGETSTATESNV
ClosedPublic

Authored by kp on Jun 29 2021, 7:38 PM.
Tags
None
Referenced Files
F140087139: D30944.id91521.diff
Sat, Dec 20, 1:43 AM
Unknown Object (File)
Thu, Nov 27, 7:52 AM
Unknown Object (File)
Tue, Nov 25, 11:48 AM
Unknown Object (File)
Nov 20 2025, 8:30 AM
Unknown Object (File)
Nov 20 2025, 8:27 AM
Unknown Object (File)
Nov 18 2025, 10:27 AM
Unknown Object (File)
Nov 18 2025, 8:48 AM
Unknown Object (File)
Nov 17 2025, 8:08 PM

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