Page MenuHomeFreeBSD

pf: simplify action resolution in pf_test_rule()
ClosedPublic

Authored by kp on Fri, Mar 28, 2:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 3:14 AM
Unknown Object (File)
Mon, Mar 31, 6:34 PM
Unknown Object (File)
Sun, Mar 30, 1:10 PM
Unknown Object (File)
Sun, Mar 30, 8:09 AM
Unknown Object (File)
Sun, Mar 30, 5:38 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