HomeFreeBSD

pf: Handle errors returned by pf_killstates()

Description

pf: Handle errors returned by pf_killstates()

Happily this wasn't a real bug, because pf_killstates() never fails, but
we should check the return value anyway, in case it does ever start
returning errors.

Reported by: clang --analyze
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Jul 5 2021, 12:21 PM
Parents
rG8cceacc0f1ee: pf: Remove unneeded NULL check
Branches
Unknown
Tags
Unknown