Commit 74bdfab4 authored by Lorenz Bauer's avatar Lorenz Bauer Committed by Martin KaFai Lau

net: remove duplicate INDIRECT_CALLABLE_DECLARE of udp[6]_ehashfn

There are already INDIRECT_CALLABLE_DECLARE in the hashtable
headers, no need to declare them again.

Fixes: 0f495f76 ("net: remove duplicate reuseport_lookup functions")
Suggested-by: default avatarMartin Lau <martin.lau@linux.dev>
Signed-off-by: default avatarLorenz Bauer <lmb@isovalent.com>
Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20230731-indir-call-v1-1-4cd0aeaee64f@isovalent.comSigned-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent fb213ecb
......@@ -333,8 +333,6 @@ static inline int compute_score(struct sock *sk, struct net *net,
return score;
}
INDIRECT_CALLABLE_DECLARE(inet_ehashfn_t udp_ehashfn);
/**
* inet_lookup_reuseport() - execute reuseport logic on AF_INET socket if necessary.
* @net: network namespace.
......
......@@ -112,8 +112,6 @@ static inline int compute_score(struct sock *sk, struct net *net,
return score;
}
INDIRECT_CALLABLE_DECLARE(inet6_ehashfn_t udp6_ehashfn);
/**
* inet6_lookup_reuseport() - execute reuseport logic on AF_INET6 socket if necessary.
* @net: network namespace.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment