Re: git: 0bf42a0a05b9 - main - bpf: virtualize bpf_iflist
- In reply to: Gleb Smirnoff : "git: 0bf42a0a05b9 - main - bpf: virtualize bpf_iflist"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Dec 2025 01:58:30 UTC
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