Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Aug 2026 16:02:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 297220] infinite recursion in pfi_kkif_update()
Message-ID:  <bug-297220-7501-I2gy567tDb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-297220-7501@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297220

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit d2a5b5a86a92e86f77737273ab4b2e99da63c21d
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2026-08-03 14:05:28 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
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(-)

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-297220-7501-I2gy567tDb>