HomeFreeBSD

pf: fix 'no rdr'

Description

pf: fix 'no rdr'

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")
Differential Revision: https://reviews.freebsd.org/D53191

Details

Provenance
kpAuthored on Oct 18 2025, 3:47 PM
Differential Revision
D53191: pf: fix 'no rdr'
Parents
rGa6369fb9e4b4: nfscommon: Update the nfs_bigreply array
Branches
Unknown
Tags
Unknown