Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 9, 4:10 PM
Unknown Object (File)
Sun, Dec 7, 11:27 AM
Unknown Object (File)
Nov 25 2025, 11:46 PM
Unknown Object (File)
Nov 24 2025, 3:02 AM
Unknown Object (File)
Nov 22 2025, 7:00 AM
Unknown Object (File)
Oct 29 2025, 1:00 AM
Unknown Object (File)
Oct 28 2025, 2:02 PM
Unknown Object (File)
Oct 26 2025, 4:38 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