If we hit the csfailed case in pf_create_state() we may have allocated
a state, so we must also free it. While here reduce the amount of
duplicated cleanup code.
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential D41772
pf: fix state leak kp on Sep 7 2023, 3:39 PM. Authored by Tags None Referenced Files
Details
If we hit the csfailed case in pf_create_state() we may have allocated MFC after: 1 week
Diff Detail
|