Page MenuHomeFreeBSD

pf: fix 'no rdr'
ClosedPublic

Authored by kp on Sat, Oct 18, 8:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 22, 8:19 AM
Unknown Object (File)
Tue, Oct 21, 2:09 PM
Unknown Object (File)
Tue, Oct 21, 2:09 PM
Unknown Object (File)
Tue, Oct 21, 2:09 PM
Unknown Object (File)
Tue, Oct 21, 2:15 AM
Unknown Object (File)
Mon, Oct 20, 7:52 AM
Unknown Object (File)
Sun, Oct 19, 5:31 PM
Unknown Object (File)
Sat, Oct 18, 11:14 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 Not Applicable
Unit
Tests Not Applicable