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)
Wed, Nov 5, 10:52 AM
Unknown Object (File)
Wed, Nov 5, 10:52 AM
Unknown Object (File)
Wed, Nov 5, 10:43 AM
Unknown Object (File)
Wed, Nov 5, 10:42 AM
Unknown Object (File)
Wed, Nov 5, 3:16 AM
Unknown Object (File)
Oct 25 2025, 3:38 AM
Unknown Object (File)
Oct 24 2025, 2:03 AM
Unknown Object (File)
Oct 23 2025, 12:18 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