Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Oct 18 2025, 8:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 2:33 PM
Unknown Object (File)
Sun, May 17, 7:22 PM
Unknown Object (File)
Fri, May 15, 6:13 PM
Unknown Object (File)
Fri, May 15, 6:13 PM
Unknown Object (File)
Fri, May 15, 5:40 PM
Unknown Object (File)
Mon, May 11, 4:04 AM
Unknown Object (File)
Fri, May 8, 12:52 AM
Unknown Object (File)
Thu, Apr 30, 11:28 AM

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