🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by David Ahern Sat, 10 Oct 2026 13:34
Re: [PATCH net-next v2 2/3] ipv4: Pass netns to fib_table_lookup()
#1705
Author: David Ahern
Date: Sat, 10 Oct 2026 13:34
31 lines
6693 bytes
On 10/8/26 7:31 AM, Ido Schimmel wrote:
> The next patch will report the network namespace cookie in the
> fib_table_lookup tracepoint. As a preparation, pass the namespace to
> fib_table_lookup() and from there to the tracepoint, like the
> fib6_table_lookup tracepoint. All the callers already have the namespace
> at hand.
> 
> Add the namespace as the last tracepoint argument so that the positions
> of the existing arguments do not change and BPF programs that attach to
> the raw tracepoint are not affected.
> 
> No functional changes intended.
> 
> 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>
> ---
>  include/net/ip_fib.h       | 12 +++++++-----
>  include/trace/events/fib.h |  5 +++--
>  net/core/filter.c          |  2 +-
>  net/ipv4/devinet.c         |  3 ++-
>  net/ipv4/fib_frontend.c    |  6 ++++--
>  net/ipv4/fib_rules.c       |  2 +-
>  net/ipv4/fib_semantics.c   |  2 +-
>  net/ipv4/fib_trie.c        | 14 ++++++++------
>  8 files changed, 27 insertions(+), 19 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads