Thread (15 messages) flat view 15 messages, 3 authors, 1d ago

Re: [PATCH v1 net-next 00/11] neighbour: Namespacify arp_tbl and nd_tbl.

From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-08-06 17:50:15

On Thu, Aug 6, 2026 at 6:45 AM Jakub Kicinski [off-list ref] wrote:
On Thu,  6 Aug 2026 01:11:22 +0000 Kuniyuki Iwashima wrote:
quoted
However, the control paths are serialised by the global
per-table lock.

This series converts arp_tbl and nd_tbl to per-netns table.

Patch 1 ~ 2 are misc cleanup.

Patch 3 ~ 6 store arp_tbl/nd_tbl to net->neigh_tables[] and
remove the global neigh_tables[].

Patch 7 ~ 8 replaces the direct access to arp_tbl/nd_tbl to
net->neigh_tables[] using new helpers.

Patch 9 ~ 10 finally replaces the global table with per-netns
table.

Patch 11 cleans up unnecessary net_eq().

Note that some buggy drivers access nd_tbl without checking
disable_ipv6_mod, so nd_tbl's extern definition is still left.
Hi!

Looks like test_neigh.sh is failing with this
Oh sorry, I had to namespacify "ntable change" for GC attributes.

ip -n $ns1 ntable change

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