[Bug 280834] pf: set skip on <interface> persists and can't be removed

[email protected]
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280834

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

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

commit 6a88e22728d285c4df17216515ce2b8d1e5a6835
Author:     Kristof Provost <[email protected]>
AuthorDate: 2024-08-16 12:55:31 +0000
Commit:     Kristof Provost <[email protected]>
CommitDate: 2024-08-19 16:02:15 +0000

    pfctl: pfik_ifp is always NULL

    The pfik_ifp field is not provided by the kernel, it is always NULL. Do not
    check for it. This caused us to not clear the skip flag on interfaces,
leading
    to unexpected behaviour when a 'set skip' was removed.

    PR:             280834
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D46311

 sbin/pfctl/pfctl.c               |  7 +----
 tests/sys/netpfil/pf/set_skip.sh | 61 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+), 6 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.