Page MenuHomeFreeBSD

libpfctl: improve DIOCGETSTATESNV size estimation
AbandonedPublic

Authored by kp on Jun 29 2021, 7:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 3:05 PM
Unknown Object (File)
Sat, Sep 5, 1:22 PM
Unknown Object (File)
Sat, Sep 5, 11:17 AM
Unknown Object (File)
Sat, Sep 5, 8:35 AM
Unknown Object (File)
Sat, Sep 5, 6:08 AM
Unknown Object (File)
Sat, Sep 5, 12:06 AM
Unknown Object (File)
Thu, Sep 3, 9:30 PM
Unknown Object (File)
Thu, Sep 3, 10:28 AM
Subscribers

Details

Reviewers
donner
Group Reviewers
network
pfsense
Summary

Each state entry is around 2K of data. Use this as a minimum size to
reduce the number of attempts we have to make to grow the buffer to the
required size.

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 40172
Build 37061: arc lint + arc unit