🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1704

Re: [PATCH net-next v2 1/3] ipv6: Report netns cookie in fib6_table_lookup tracepoint

#1704
From: David Ahern
Date: Sat, 10 Oct 2026 13:33
27 lines
6474 bytes
On 10/8/26 7:31 AM, Ido Schimmel wrote:
> The first argument of the tracepoint is a pointer to the network
> namespace in which the FIB lookup was performed, but the tracepoint does
> not report information about it in the associated trace record, making
> it impossible to tell apart lookups performed in different namespaces.
> 
> Report the network namespace cookie, as commit 27cb3de7f43a ("net: add
> net cookie for net device trace events") did for the net device
> tracepoints.
> 
> Assisted-by: LLM
> Reviewed-by: Petr Machata <petrm@nvidia.com>
> Reviewed-by: Ferenc Fejes <ferenc@fejes.dev>
> Signed-off-by: Ido Schimmel <idosch@nvidia.com>
> ---
> 
> Notes:
>     Sashiko: There is a pre-existing issue here regarding an uninitialized
>     gateway address. I will take care of it separately.
> 
>  include/trace/events/fib6.h | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 


Reviewed-by: David Ahern <dsahern@kernel.org>
Technical Details
Message-ID: <35dfb32f-690c-41cc-a12f-156bf5eef7e7@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344208-linux-kernel-netdev=dewy.ru
References: <20261008133158.1438907-1-idosch@nvidia.com> <20261008133158.1438907-2-idosch@nvidia.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344208-linux-kernel-netdev=dewy.ru
From: dsahern@kernel.org (David Ahern)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 1/3] ipv6: Report netns cookie in
 fib6_table_lookup tracepoint
Date: Sat, 10 Oct 2026 07:33:06 -0600
Organization: Usenet Network
Message-ID: <35dfb32f-690c-41cc-a12f-156bf5eef7e7@kernel.org>
References: <20261008133158.1438907-1-idosch@nvidia.com>
 <20261008133158.1438907-2-idosch@nvidia.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1340332"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+k7BnMb7oQkaOrsqgAHPXPAlGtM= sha256:jyRt9Na9OZq7wwVhYOn/u4Sjk65afAj+L8xHVS4Wp8w=
	sha1:2d72mUy9jUYnHekLBhhW2EH1Aro= sha256:70fuSE1U8uVcWYKZddrJFkYklbuinzA1Lor+bad9jHA=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 5310810F8ED; Sat, 10 Oct 2026 16:33:49 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id RiOuuwaUqmWr;
	Sat, 10 Oct 2026 16:33:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344208-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 04CE110F289; Sat, 10 Oct 2026 16:33:42 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 5B99739FD1; Sat, 10 Oct 2026 13:33:10 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id D0A2236B07C;
	Sat, 10 Oct 2026 13:33:09 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ZIQV6jFJ"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 BC556298CAB
	for <netdev@vger.kernel.org>; Sat, 10 Oct 2026 13:33:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791639189; cv=none; b=Isfb+9Hxkges2h7Ie3d7/nh5pWbWN+U7OKG+FDTKQi5tVJN0yrvKyrSff2rcSUahvL9GwyqJ/1BybaIEaZt5Gh06Gtvd0p3yOG9q9Okhbyxh/zBmDQoiHR3nyQ15sL3DVP3kXr7nKuuSlKXq0b3DVqQqelcdzI0IvBXK6e8zmko=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791639189; c=relaxed/simple;
	bh=s6ynVHDDva3Mo4goMbPQ49wNqrtQYRgUKBB37EJOhII=;
	h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:
	 In-Reply-To:Content-Type; b=KJ6sQxZR7c8bV3QT9/HPnCzOOTS6Ob1p0UD06x2yGL+bxC55xEWxvFW9hsD3p6m5Ztzfw6J7PpBP15FVU5uSiniU21yVcKnME0Vyu6uqH0j2MJyKPM+EaMrJD0EVNxmtlbJySb+dR1IgwtZSpKU2f1iT2+l42Xx6eGCjStp339g=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ZIQV6jFJ; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D34EA1F000FF;
	Sat, 10 Oct 2026 13:33:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791639188;
	bh=76j6DBehfiXQ1IJ2xBzZWMxYnD8ukNISfK7pxqxjLxo=;
	h=Date:Subject:To:Cc:References:From:In-Reply-To;
	b=ZIQV6jFJ3LSMollwqURLPOwa5ZN9RIJ6Zx+F1B0QtO7qC9TWDE65yzdhQlD1Ts9mT
	 fhFrkrQ6J3wKorg7Mw2JXqoZJMwk+SVzMiDhJwXn5Ku0fWs6xARknnSUKS/gn7OxtZ
	 2UP7R3zkBXSQ6tDf/NwL45eau0/F0u4ZxI4kWOA6NQqpTJ/JRx6fw+DHScrXkulWGD
	 4eZB+9j5PLHmHMefnbuyzymXtNLibBvZASUlZIba4L1EyI3ej3fYqGZfz2Bnnckjqr
	 +6xuNTATwWlPXvJIAXJfB2AfSf0IiDq/SyTQ/9NrBaI9nAIKwNltITy0xLjCPCk6kH
	 UoD5g5pHlgI9Q==
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-User-Agent: Mozilla Thunderbird
X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
 edumazet@kernel.org, horms@kernel.org, rostedt@goodmis.org,
 mhiramat@kernel.org, mathieu.desnoyers@efficios.com, daniel@iogearbox.net,
 petrm@nvidia.com, ferenc@fejes.dev
X-In-Reply-To: <20261008133158.1438907-2-idosch@nvidia.com>