HomeFreeBSD

pf: assert that sizeof(struct pf_state) <= 312

Description

pf: assert that sizeof(struct pf_state) <= 312

To prevent accidentally going over a threshold which makes UMA fit only
12 objects per page instead of 13.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
mjgAuthored on Jun 28 2021, 12:49 PM
Parents
rGccb17a21041e: pf: factor out state allocation into pf_alloc_state
Branches
Unknown
Tags
Unknown