Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
F154503691: D53191.diff
Tue, Apr 28, 7:02 PM
F154468766: D53191.id164509.diff
Tue, Apr 28, 5:00 PM
F154468630: D53191.id164509.diff
Tue, Apr 28, 5:00 PM
Unknown Object (File)
Mon, Apr 27, 3:45 PM
Unknown Object (File)
Sat, Apr 25, 10:35 AM
Unknown Object (File)
Sat, Apr 25, 10:35 AM
Unknown Object (File)
Thu, Apr 9, 8:16 PM
Unknown Object (File)
Wed, Apr 8, 11:52 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