mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
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: 0f495f7617
("net: remove duplicate reuseport_lookup functions")
Suggested-by: Martin Lau <martin.lau@linux.dev>
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20230731-indir-call-v1-1-4cd0aeaee64f@isovalent.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
This commit is contained in:
parent
fb213ecbb8
commit
74bdfab4fd
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user