From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B979C3C7DFA; Thu, 26 Mar 2026 16:27:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774542430; cv=none; b=OIFjZ3xXi9SXJWM8q/gMEGgVO297mRPl+ftVEvNOgEx0nLSkLklUn+k8HDaZjLIeg3EnlJQU90qDWPo5LNbylhiRquMt84poaGBkPBUIj/C/m1E8HurM7NOFrIPl0Jg654bRfGgESvtUwwMKKyzbpktMQNF4PauZajVOFrFwppc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774542430; c=relaxed/simple; bh=FOmmId4ryA+YOTqhM7wpTHuU7R8PWpYh6XnlDyHrm5Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=I0kucDBwfB1XxT7AL3sPph9ICxoYpem0gyIsbwSs1BiNY1dLRbCO5SsDixYg2Yba8DiF74bGx3IxEnPduq/DF9hRwB7aj+2NtLg7F4gztsu2mRGYOZA/GJ/4TKZ6MBeznl1A3D2cGtp6fPEtpMz9GoDrfqg/6lLf+AB6qhX+Fh4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QAgnWFiK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QAgnWFiK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 741DAC116C6; Thu, 26 Mar 2026 16:27:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774542430; bh=FOmmId4ryA+YOTqhM7wpTHuU7R8PWpYh6XnlDyHrm5Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QAgnWFiKhaZC8sJ4Ors/P5eezAqBFP0cQPr45i3KsYolY5Uq4drWq17upyOaCgjJc UujlgTX0DYvSFjSRak6XNUNyqL4cltjUtObx+U0r8EVxxmoXoC69bJ4EK3X7lAVjs4 idWWEMqO5yC+8yWAmK3EMnQQPH5jIChqCAZYp/3w2uPAAfdk8zVXaxjB7FP8EH+nf7 d2zLC9irOEcQ9s6w/j9QpFRT/vfgTki3z4hOoZq3m5pjfFGguJPIEkG6ETcZAEOrbO vUB9hlJlBkRjaiBeKaJ/3n3tTbZvxNJjEuMNFWNBTtUXREvUtp9iC1sYAbcn1cLNDa sPw9JDaYRcA/g== Message-ID: <867939e4-59de-4c12-8fed-7cfeb1fe092b@kernel.org> Date: Thu, 26 Mar 2026 10:27:08 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 09/11 net-next v5] bpf: remove ipv6_bpf_stub completely and use direct function calls Content-Language: en-US To: Fernando Fernandez Mancera , Martin KaFai Lau Cc: =?UTF-8?Q?Ricardo_B=2E_Marli=C3=A8re?= , Daniel Borkmann , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Alexei Starovoitov , Andrii Nakryiko , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Ido Schimmel , Guillaume Nault , linux-kernel@vger.kernel.org, bpf@vger.kernel.org, netdev@vger.kernel.org References: <20260325120928.15848-1-fmancera@suse.de> <20260325120928.15848-10-fmancera@suse.de> <1ff47530-44ee-4012-a013-0202182de208@linux.dev> <99c37135-a1cc-4eb9-a910-ca38e129b5b0@suse.de> <93822084-f558-4194-be2b-cb328b81e412@kernel.org> <77792d0f-925f-4600-913c-b9dcdf8e9ea9@suse.de> From: David Ahern In-Reply-To: <77792d0f-925f-4600-913c-b9dcdf8e9ea9@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/25/26 5:41 PM, Fernando Fernandez Mancera wrote: > Hi David, I did the following testing: > > 1. ipv6.disabled=1 since booting - the IPv6 nexthop cannot be added to > the IPv4 route at all. > > 2. ipv6.disabled=1 after booting but before configuring the IPv4 route - > same result as above. > > 3. ipv6.disabled=1 after booting and after the IPv4 is configured - the > neighbor lookup is fine as the nd_tbl is initialized. It didn't crash. > > I did tracing to make sure that code path was hit. I tested the > forwarding with 3 namespaces 1<-->2<-->3 loading the BPF program on the > second one performing the bpf_fib_lookup() instruction. > > I could do more testing regarding this if needed, let me know. > that looks good. Thank you