diff options
| author | 2026-10-03 21:23:20 +0000 | |
|---|---|---|
| committer | 2026-10-07 16:07:04 -0700 | |
| commit | f2f25d59f56a0a225447af203d73e51b4f7f92f5 (patch) | |
| tree | f1776d01d7ba03b3ade9e46c0c03b22a93d4a394 /scripts/Makefile.thinlto | |
| parent | ipv6: Use ipv6_neigh_lookup() and friends. (diff) | |
ipv4: Use ipv4_neigh_lookup() and friends.
It is error-prone to require callers to fetch netns and
neigh_table and pass it with dev to neigh_lookup(), etc.
Let's replace neigh_lookup() and friends with IPv4 helpers.
Note that __neigh_lookup(create=false) is replaced with
ipv4_neigh_lookup() and __neigh_lookup(create=true) and
__neigh_lookup_errno() are split into ipv4_neigh_lookup()
and ipv4_neigh_create().
Fixes: 2430df635a59 ("ipv4: Replace &arp_tbl with arp_table(net).")
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Fernando Fernandez Mancera <fmancera@suse.de>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20261003212336.1304988-8-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
