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
F150955649: D49552.diff
Sun, Apr 5, 4:31 AM
Unknown Object (File)
Sat, Apr 4, 2:10 PM
Unknown Object (File)
Sat, Mar 28, 11:52 AM
Unknown Object (File)
Thu, Mar 12, 8:48 PM
Unknown Object (File)
Wed, Mar 11, 4:57 PM
Unknown Object (File)
Mar 5 2026, 1:39 AM
Unknown Object (File)
Mar 4 2026, 6:09 PM
Unknown Object (File)
Mar 3 2026, 11:35 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