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)
Wed, Oct 30, 8:21 AM
Unknown Object (File)
Fri, Oct 25, 5:58 PM
Unknown Object (File)
Tue, Oct 22, 4:53 PM
Unknown Object (File)
Mon, Oct 14, 6:28 PM
Unknown Object (File)
Mon, Oct 14, 5:58 AM
Unknown Object (File)
Oct 8 2024, 1:42 AM
Unknown Object (File)
Oct 8 2024, 1:41 AM
Unknown Object (File)
Oct 8 2024, 1:41 AM

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.