[Bug 297220] infinite recursion in pfi_kkif_update()

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Aug 2026 08:43:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297220

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:

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

commit 80d732d6409907efb586c621238f5c43c77690f8
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-08-03 14:05:28 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2026-08-11 08:33:56 +0000

    pf: attempt to handle overlapping group and interface names

    pf assumes that network groups and network interfaces share a namespace
    (that is, a name is unused, a group or an interface, never both a the
    same time). Unfortunately this assumption was broken when interface
    renaming was introduced.
    Attempt to cope with this rather than panicking. Note that this is a
    band-aid, not a full solution. The correct fix is for the network stack
    to go back to enforcing a single namespace for groups and interfaces.

    PR:             297220
    Reported by:    Robert Morris
    MFC after:      1 week
    Sponsored by:   Rubicon Communications, LLC ("Netgate")

    (cherry picked from commit d2a5b5a86a92e86f77737273ab4b2e99da63c21d)

 sys/netpfil/pf/pf_if.c        | 19 +++++++++++++------
 tests/sys/netpfil/pf/names.sh | 23 +++++++++++++++++++++++
 2 files changed, 36 insertions(+), 6 deletions(-)

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