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
F144412145: D49552.id152791.diff
Sun, Feb 8, 7:35 AM
Unknown Object (File)
Sat, Feb 7, 11:27 PM
Unknown Object (File)
Sat, Jan 31, 12:10 AM
Unknown Object (File)
Dec 28 2025, 6:52 AM
Unknown Object (File)
Dec 11 2025, 3:18 PM
Unknown Object (File)
Nov 29 2025, 11:25 PM
Unknown Object (File)
Nov 27 2025, 3:53 PM
Unknown Object (File)
Nov 5 2025, 10:52 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