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
rGe5896578b222: Apply llvm fix for possible hangs with CPUTYPE=skylake-avx512
Branches
Unknown
Tags
Unknown