Page MenuHomeFreeBSD

pf: simplify action resolution in pf_test_rule()
ClosedPublic

Authored by kp on Mar 28 2025, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 25, 3:38 AM
Unknown Object (File)
Fri, Oct 24, 2:03 AM
Unknown Object (File)
Thu, Oct 23, 12:18 AM
Unknown Object (File)
Wed, Oct 22, 8:53 PM
Unknown Object (File)
Tue, Oct 21, 3:29 AM
Unknown Object (File)
Mon, Oct 20, 1:35 AM
Unknown Object (File)
Sat, Oct 4, 1:03 AM
Unknown Object (File)
Sep 11 2025, 9:17 AM

Details

Summary

Rather than looking at state keys after the fact just save the action in the
nat64 section. This simplifies things and it also ensures we don't use state
keys after pf_insert_state().

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable