aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2017-07-06 07:58:53 +0800
committerDavid S. Miller <davem@davemloft.net>2017-07-06 10:54:15 +0100
commite8f37d57dff20a455abb36942e326073dd47738d (patch)
tree3219f46827ebc22cf282552dbf766fb1866455f5 /net/ipv4/tcp_ipv4.c
parentnet: ipv6: Compare lwstate in detecting duplicate nexthops (diff)
downloadlinux-dev-e8f37d57dff20a455abb36942e326073dd47738d.tar.xz
linux-dev-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 '')
-rw-r--r--net/ipv4/tcp_ipv4.c6
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;