HomeFreeBSD

pf: reduce the risk of src/dst mis-use

Description

pf: reduce the risk of src/dst mis-use

NULL out src/dst and check them rather than relying of 'af' to indicate
these variables are valid.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D35573

Details

Provenance
kpAuthored on Jun 23 2022, 9:11 AM
Differential Revision
D35573: pf: reduce the risk of src/dst mis-use
Parents
rG1e5ef2a7e11d: if_ovpn tests: extend multi_client test with an iroute test
Branches
Unknown
Tags
Unknown