[Bug 297220] infinite recursion in pfi_kkif_update()

[email protected] Mon, 03 Aug 2026 16:02:42 +0000
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297220

--- Comment #2 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dd2a5b5a86a92e86f77737273ab4b2e99d=
a63c21d

commit d2a5b5a86a92e86f77737273ab4b2e99da63c21d
Author:     Kristof Provost <[email protected]>
AuthorDate: 2026-08-03 14:05:28 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2026-08-03 16:01:52 +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")

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

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