HomeFreeBSD

pf syncookies: fix memory leak

Description

pf syncookies: fix memory leak

We forgot to free the nvlist (and packed nvlist) on success.
While here start using the ERROUT macro to clean up error handling, and
to add SDTs for better debugging.

Reported by: Coverity
CID: 1473150

(cherry picked from commit be461cdfb36e229040aafae07a2ba68f73091431)

Details

Provenance
kpAuthored on Apr 7 2022, 6:41 AM
Parents
rG3279cac9dd7a: mii: correction after MFC
Branches
Unknown
Tags
Unknown