Page MenuHomeFreeBSD

libpfctl: improve DIOCGETSTATESNV size estimation
AbandonedPublic

Authored by kp on Jun 29 2021, 7:38 PM.

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