mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-17 14:30:00 +00:00
tcp: md5: tcp_md5_do_lookup_exact() can be static
Fixes: 6797318e62
("tcp: md5: add an address prefix for key lookup")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f06b7549b7
commit
e8f37d57df
@ -943,9 +943,9 @@ struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk,
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(tcp_md5_do_lookup);
|
EXPORT_SYMBOL(tcp_md5_do_lookup);
|
||||||
|
|
||||||
struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
|
static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
|
||||||
const union tcp_md5_addr *addr,
|
const union tcp_md5_addr *addr,
|
||||||
int family, u8 prefixlen)
|
int family, u8 prefixlen)
|
||||||
{
|
{
|
||||||
const struct tcp_sock *tp = tcp_sk(sk);
|
const struct tcp_sock *tp = tcp_sk(sk);
|
||||||
struct tcp_md5sig_key *key;
|
struct tcp_md5sig_key *key;
|
||||||
|
Loading…
Reference in New Issue
Block a user