diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2017-07-06 01:58:53 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-06 11:54:15 +0200 |
commit | e8f37d57dff20a455abb36942e326073dd47738d (patch) | |
tree | 3219f46827ebc22cf282552dbf766fb1866455f5 /net/ipv4 | |
parent | net: ipv6: Compare lwstate in detecting duplicate nexthops (diff) | |
download | linux-e8f37d57dff20a455abb36942e326073dd47738d.tar.xz linux-e8f37d57dff20a455abb36942e326073dd47738d.zip |
tcp: md5: tcp_md5_do_lookup_exact() can be static
Fixes: 6797318e623d ("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>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 6ec6900eb300..a20e7f03d5f7 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c @@ -943,9 +943,9 @@ struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk, } EXPORT_SYMBOL(tcp_md5_do_lookup); -struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk, - const union tcp_md5_addr *addr, - int family, u8 prefixlen) +static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk, + const union tcp_md5_addr *addr, + int family, u8 prefixlen) { const struct tcp_sock *tp = tcp_sk(sk); struct tcp_md5sig_key *key; |