[Bug 290177] PF - panicking after upgrade to 15.0-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Oct 2025 20:15:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290177

--- Comment #21 from commit-hook@FreeBSD.org ---
A commit in branch releng/15.0 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f138688ea41a1a2ecd0d08d02575542f31f1ceb5

commit f138688ea41a1a2ecd0d08d02575542f31f1ceb5
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2025-10-18 15:47:47 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-22 20:12:34 +0000

    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.

    Approved by:    re (cperciva)
    PR:             290177
    MFC after:      3 days
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D53191

    (cherry picked from commit cb36bfee25b71d1223b8fb1237fcf823d514b50e)
    (cherry picked from commit 536b07512c4b931b9d0d3d609c3ac925f55e3ec9)

 sys/netpfil/pf/pf.c         |  1 +
 sys/netpfil/pf/pf_lb.c      |  1 +
 tests/sys/netpfil/pf/rdr.sh | 51 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 53 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.