Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
F147652474: D53191.diff
Thu, Mar 12, 3:00 PM
Unknown Object (File)
Mon, Mar 2, 5:11 AM
Unknown Object (File)
Mon, Mar 2, 5:09 AM
Unknown Object (File)
Mon, Mar 2, 5:09 AM
Unknown Object (File)
Sat, Feb 14, 11:36 AM
Unknown Object (File)
Sat, Feb 14, 11:22 AM
Unknown Object (File)
Jan 20 2026, 3:59 AM
Unknown Object (File)
Dec 30 2025, 7:25 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67900
Build 64783: arc lint + arc unit