diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2026-10-03 21:23:15 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-07 16:07:03 -0700 |
| commit | 3e33cdcf54ee1143b47b2ee324fc20923ac6fcf3 (patch) | |
| tree | b0f6ac2b961ba13eba79983046220f3732dbc143 /include | |
| parent | 07cc2b151a262c3e81be6608bb84a4f112fec445 (diff) | |
| download | linux-next-3e33cdcf54ee1143b47b2ee324fc20923ac6fcf3.tar.gz linux-next-3e33cdcf54ee1143b47b2ee324fc20923ac6fcf3.zip | |
ipv6: Rename ip6_neigh_lookup() to __ip6_dst_neigh_lookup().
Later, we will add ipv6_neigh_lookup() as a wrapper for
neigh_lookup(nd_table(net), ...).
The existing ip6_neigh_lookup() is called from ip6_dst_neigh_lookup()
with a gateway address.
Let's rename ip6_neigh_lookup() to __ip6_dst_neigh_lookup().
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-3-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/ip6_route.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index b9de335b639a..5f47cef0be46 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h @@ -437,7 +437,7 @@ u32 ip6_mtu_from_fib6(const struct fib6_result *res, const struct in6_addr *daddr, const struct in6_addr *saddr); -struct neighbour *ip6_neigh_lookup(const struct in6_addr *gw, - struct net_device *dev, struct sk_buff *skb, - const void *daddr); +struct neighbour *__ip6_dst_neigh_lookup(const struct in6_addr *gw, + struct net_device *dev, struct sk_buff *skb, + const void *daddr); #endif |
