Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2025 17:58:30 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 0bf42a0a05b9 - main - bpf: virtualize bpf_iflist
Message-ID:  <aUNfxs02IooJMTYw@cell.glebi.us>
In-Reply-To: <694316c4.3d86b.2da7d434@gitrepo.freebsd.org>
References:  <694316c4.3d86b.2da7d434@gitrepo.freebsd.org>

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

On Wed, Dec 17, 2025 at 08:47:00PM +0000, Gleb Smirnoff wrote:
T> The branch main has been updated by glebius:
T> 
T> URL: https://cgit.FreeBSD.org/src/commit/?id=0bf42a0a05b9c802a6d9ca4a6b8696b29a26e08b
T> 
T> commit 0bf42a0a05b9c802a6d9ca4a6b8696b29a26e08b
T> Author:     Gleb Smirnoff <glebius@FreeBSD.org>
T> AuthorDate: 2025-12-17 20:41:05 +0000
T> Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
T> CommitDate: 2025-12-17 20:41:05 +0000
T> 
T>     bpf: virtualize bpf_iflist
T>     
T>     The reason the global list worked before 8774a990ee40 is that bpf_setif()
T>     used if_unit(), which is a VNET-aware function, and then went through the
T>     global list looking for bpf_if with matching pointer.
T>     
T>     PR:     291735
T>     Fixes:  8774a990ee4094f16d596d4b78e0f3239e5d0c88

Yes, I already learned that this broke the bpf:inject test in tests/net/bpf.
Damn if_vmove again.  The moved interface does not move its bpf_if.  I'm
looking for a solution.

-- 
Gleb Smirnoff


help

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