HomeFreeBSD

pf: Initialize the table entry zone limit at initialization time

Description

pf: Initialize the table entry zone limit at initialization time

The limit may later be updated by the "set limit" directive in pf.conf.
UMA does not permit a limit to be set on a zone after any items have
been allocated from a zone.

Other UMA zones used by pf do not appear to be susceptible to this
problem: they either set a limit at zone creation time or never set one
at all.

PR: 260406
Reviewed by: kp
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34713

Details

Provenance
markjAuthored on Mar 30 2022, 7:41 PM
Reviewer
kp
Differential Revision
D34713: pf: Initialize the table entry zone limit at initialization time
Parents
rG8299f9a5c167: compat32: add size CTASSERTs for non-amd64 cases
Branches
Unknown
Tags
Unknown