HomeFreeBSD

pf: fix a race against kif destruction in pf_test{,6}

Description

pf: fix a race against kif destruction in pf_test{,6}

ifp kif was dereferenced prior to taking the lock and
could have been nullified later.

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision:

Details

Provenance
mjgAuthored on May 31 2022, 8:00 PM
Parents
rG3cb9f1976c26: nfs: skip bootpc when vfs.root.mountfrom is other than nfs
Branches
Unknown
Tags
Unknown