[PATCH v1 net 0/4] neighbour: Small fixes for RTM_{GET,SET}NEIGHTBL.
From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-09-07 21:58:56
While working on the follow-up suggested here, https://lore.kernel.org/netdev/20260902143023.GA3966681@shredder/ (local) I found a few bugs in RTM_GETNEIGHTBL and RTM_SETNEIGHTBL, which this series fixes. Patch 1, 3, 4 will conflict with net-next in neightbl_dump_info() due to removal of net_eq() below: p = list_next_entry(&tbl->parms, list); list_for_each_entry_from_rcu(p, &tbl->parms_list, list) { if (!net_eq(neigh_parms_net(p), net)) continue; Note also that currently neigh_proc_dointvec_ms_jiffies_positive() is buggy and does not enforce min/max, and it needs this fix: https://lore.kernel.org/linux-fsdevel/20260905233819.1064529-2-kuniyu@google.com/ (local) Kuniyuki Iwashima (4): neighbour: Add missing RCU annotation for neightbl_dump_info(). neighbour: Enforce min/max to NDTPA_INTERVAL_PROBE_TIME_MS. neighbour: Don't render blackhole_netdev via RTM_GETNEIGHTBL. neighbour: Skip default parms when resumed in neightbl_dump_info(). net/core/neighbour.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) -- 2.55.0.1003.g10538fe699-goog