Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
F151044832: D53191.id164553.diff
Sun, Apr 5, 3:23 PM
Unknown Object (File)
Wed, Mar 25, 8:36 PM
Unknown Object (File)
Wed, Mar 25, 7:46 AM
Unknown Object (File)
Wed, Mar 18, 1:42 AM
Unknown Object (File)
Tue, Mar 17, 8:50 PM
Unknown Object (File)
Sun, Mar 15, 7:37 AM
Unknown Object (File)
Sun, Mar 15, 4:58 AM
Unknown Object (File)
Thu, Mar 12, 3:00 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