HomeFreeBSD

libpfct: ensure the initial allocation is large enough

Description

libpfct: ensure the initial allocation is large enough

Ensure that we allocate enough memory for the packed nvlist, no matter
what size hint was provided.

MFC after: 1 week
Reported by: R. Christian McDonald <rcm@rcm.sh>
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jul 26 2023, 8:30 AM
Parents
rGa98a0090b2ba: arm64 pmap: Eliminate unnecessary TLB invalidations
Branches
Unknown
Tags
Unknown