aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2017-07-05 19:58:53 -0400
committerDavid S. Miller <davem@davemloft.net>2017-07-06 05:54:15 -0400
commite8f37d57dff20a455abb36942e326073dd47738d (patch)
tree3219f46827ebc22cf282552dbf766fb1866455f5 /net/ipv4/tcp_ipv4.c
parentf06b7549b79e29a672336d4e134524373fb7a232 (diff)
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/tcp_ipv4.c')
-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,
943} 943}
944EXPORT_SYMBOL(tcp_md5_do_lookup); 944EXPORT_SYMBOL(tcp_md5_do_lookup);
945 945
946struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk, 946static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk,
947 const union tcp_md5_addr *addr, 947 const union tcp_md5_addr *addr,
948 int family, u8 prefixlen) 948 int family, u8 prefixlen)
949{ 949{
950 const struct tcp_sock *tp = tcp_sk(sk); 950 const struct tcp_sock *tp = tcp_sk(sk);
951 struct tcp_md5sig_key *key; 951 struct tcp_md5sig_key *key;