Page MenuHomeFreeBSD

pf: Remove struct pf_pdesc->nat_rule
ClosedPublic

Authored by vegeta_tuxpowered.net on Oct 2 2024, 8:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 16, 2:15 PM
Unknown Object (File)
Sun, Mar 9, 8:09 PM
Unknown Object (File)
Feb 21 2025, 7:44 AM
Unknown Object (File)
Feb 11 2025, 4:45 PM
Unknown Object (File)
Feb 9 2025, 4:02 AM
Unknown Object (File)
Feb 9 2025, 4:01 AM
Unknown Object (File)
Feb 4 2025, 3:59 PM
Unknown Object (File)
Feb 4 2025, 3:48 PM

Details

Summary

The variable struct pd->nat_rule is set only during rule evaluation, that is
only for the first packet of a connection. Use struct pf_kstate->nat_rule instead.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Oct 2 2024, 12:21 PM
This revision was automatically updated to reflect the committed changes.