Page MenuHomeFreeBSD

pf: Remove struct pf_pdesc->nat_rule
ClosedPublic

Authored by vegeta_tuxpowered.net on Wed, Oct 2, 8:38 AM.
Tags
None
Referenced Files
F98966941: D46867.diff
Sat, Oct 5, 1:18 PM
Unknown Object (File)
Thu, Oct 3, 9:45 AM
Unknown Object (File)
Wed, Oct 2, 12:21 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.Wed, Oct 2, 12:21 PM
This revision was automatically updated to reflect the committed changes.