HomeFreeBSD

pf: remove pointless CURVNET_SET

Description

pf: remove pointless CURVNET_SET

We're already in the correct vnet when the pfil hook is called. Remove the
pointless set/restore.

Reviewed by: glebius, zlei
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D46648

Details

Provenance
kpAuthored on Sep 11 2024, 7:13 AM
Reviewer
glebius
Differential Revision
D46648: pf: remove pointless CURVNET_SET
Parents
rG905db4aa8877: pf: dedupe layer 4 protocol code in pf_setup_pdesc()
Branches
Unknown
Tags
Unknown