HomeFreeBSD

pf: fix error-case leaks in pf_create_state

Description

pf: fix error-case leaks in pf_create_state

The hand-rolled clean up failed to free counters.

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

(cherry picked from commit 7f025db57c7879bfa43ac74ecd95903439fdd1d0)

Details

Provenance
mjgAuthored on Jun 28 2021, 6:29 PM
Parents
rGe331b1d19f6b: pf: assert that sizeof(struct pf_state) <= 312
Branches
Unknown
Tags
Unknown