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)
Tue, Dec 3, 7:29 PM
Unknown Object (File)
Tue, Nov 26, 12:13 AM
Unknown Object (File)
Mon, Nov 25, 10:41 AM
Unknown Object (File)
Thu, Nov 21, 5:20 PM
Unknown Object (File)
Nov 18 2024, 5:56 AM
Unknown Object (File)
Sep 25 2024, 1:26 AM
Unknown Object (File)
Sep 22 2024, 8:56 AM
Unknown Object (File)
Sep 21 2024, 11:03 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