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
F131675765: D46867.id144103.diff
Fri, Oct 10, 6:27 AM
Unknown Object (File)
Fri, Sep 12, 9:55 PM
Unknown Object (File)
Sep 5 2025, 2:11 AM
Unknown Object (File)
Sep 5 2025, 2:06 AM
Unknown Object (File)
Sep 2 2025, 2:09 PM
Unknown Object (File)
Aug 30 2025, 6:48 PM
Unknown Object (File)
Jul 22 2025, 4:42 AM
Unknown Object (File)
Jul 19 2025, 5:04 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.