Page MenuHomeFreeBSD

pf: Reduce the data returned in DIOCGETSTATESNV
ClosedPublic

Authored by kp on Jun 29 2021, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 5:31 PM
Unknown Object (File)
Dec 20 2023, 3:59 AM
Unknown Object (File)
Dec 16 2023, 12:28 PM
Unknown Object (File)
Dec 14 2023, 10:17 PM
Unknown Object (File)
Dec 14 2023, 1:56 AM
Unknown Object (File)
Dec 4 2023, 9:22 AM
Unknown Object (File)
Nov 13 2023, 3:46 PM
Unknown Object (File)
Nov 10 2023, 5:25 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable