diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-10-13 20:57:30 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-20 11:57:08 -0700 |
| commit | 8854b0e247aefcdc80697a12532e59e7ae8a5577 (patch) | |
| tree | 81e4ce3fd746b2ba95baec471fc77875c277a193 /tools/lib/python | |
| parent | 2335e48461f233d53170dceb91984582f3fe274a (diff) | |
neighbour: Schedule neigh_managed_work only when needed.
neigh_table is now per-netns.
tbl->managed_work is scheduled when netns is created and runs
periodically even though the netns does not have any NTF_MANAGED
entries.
Let's delay scheduling the work for the first NTF_MANAGED entry
and stop rescheduling if tbl->managed_list is empty.
Suggested-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/netdev/20260902143023.GA3966681@shredder/
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20261013205816.1642597-4-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
