OSDN Git Service

net: export inet_lookup_reuseport and inet6_lookup_reuseport
authorLorenz Bauer <lmb@isovalent.com>
Thu, 20 Jul 2023 15:30:07 +0000 (17:30 +0200)
committerMartin KaFai Lau <martin.lau@kernel.org>
Tue, 25 Jul 2023 20:51:44 +0000 (13:51 -0700)
commitce796e60b3b196b61fcc565df195443cbb846ef0
tree10d8c7df5fe41aaa2866547eca379327f7e90a1b
parent67312adc96b5a585970d03b62412847afe2c6b01
net: export inet_lookup_reuseport and inet6_lookup_reuseport

Rename the existing reuseport helpers for IPv4 and IPv6 so that they
can be invoked in the follow up commit. Export them so that building
DCCP and IPv6 as a module works.

No change in functionality.

Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Link: https://lore.kernel.org/r/20230720-so-reuseport-v6-3-7021b683cdae@isovalent.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/net/inet6_hashtables.h
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c
net/ipv6/inet6_hashtables.c