Page MenuHomeFreeBSD

pf: Reduce the data returned in DIOCGETSTATESNV
ClosedPublic

Authored by kp on Jun 29 2021, 7:38 PM.
Tags
None
Referenced Files
F107604327: D30944.diff
Thu, Jan 16, 1:13 PM
Unknown Object (File)
Sat, Dec 28, 3:20 AM
Unknown Object (File)
Wed, Dec 25, 9:41 AM
Unknown Object (File)
Thu, Dec 19, 6:24 PM
Unknown Object (File)
Thu, Dec 19, 3:14 PM
Unknown Object (File)
Dec 3 2024, 7:29 PM
Unknown Object (File)
Nov 26 2024, 12:13 AM
Unknown Object (File)
Nov 25 2024, 10:41 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable