Thread (31 messages) flat view 31 messages, 4 authors, 2h ago

Re: [PATCH v3 net-next 08/15] ipv4: Replace &arp_tbl with arp_table(net).

From: David Ahern <dsahern@kernel.org>
Date: 2026-08-11 15:42:30

On 8/10/26 8:23 PM, Kuniyuki Iwashima wrote:
We will allocate per-netns neigh_table in net->neigh_tables[].

Let's replace &arp_tbl with arp_table(net) and remove extern
definition for arp_tbl.

Three notes:

  1. mlx5e_rep_netevent_event() and nfp_tun_neigh_event_handler()
     have code assuming neigh_table other than &arp_tbl and
     &nb_tbl, and the part is removed as it will be false once
     per-netns table is allocated.

  2. prestera and rocker uses init_net because they set
     dev->netns_immutable to true.

  3. mlx5e_tc_update_neigh_used_value() dereferences nhe->neigh_dev
     in trace_mlx5e_tc_update_neigh_used_value().

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
---
v2: Add note about mlx5e_tc_update_neigh_used_value()

Seems like this is not a bisectable patch set. References for arp_tbl
and nd_tbl need to be fixed up before switching to per network namespace
tables.


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help