HomeFreeBSD

pf: Free pf_rule_items when state is not created

Description

pf: Free pf_rule_items when state is not created

This addresses the issues of pf_rule_times leaking in case of stateless
rules and in case of state creation failures, like hitting the state
limit.

Reviewed by: kp
MFC after: 1 week
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D42169

Details

Provenance
vegeta_tuxpowered.netAuthored on Oct 12 2023, 5:43 PM
kpCommitted on Oct 12 2023, 7:18 PM
Reviewer
kp
Differential Revision
D42169: pf: Free pf_rule_items when state is not created
Parents
rG43cd6bbba053: dwc: re-rewrite barrier part
Branches
Unknown
Tags
Unknown