Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
F162697272: D53191.diff
Wed, Jul 15, 9:37 PM
F162626456: D53191.diff
Wed, Jul 15, 5:45 AM
F162626455: D53191.diff
Wed, Jul 15, 5:45 AM
Unknown Object (File)
Sat, Jul 4, 5:52 AM
Unknown Object (File)
Sun, Jun 21, 9:53 PM
Unknown Object (File)
Fri, Jun 19, 9:10 PM
Unknown Object (File)
Jun 7 2026, 2:58 PM
Unknown Object (File)
May 18 2026, 2:33 PM

Details

Summary

Ensure we always have a non-NULL rule pointer (ctx.rm).
It might have gotten set to NULL by pf_get_translation().

While here also restore the previous rdr behaviour be re-adding the incorrectly
removed 'break' in pf_match_translation_rule.

PR: 290177
MFC after: 3 days
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

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