diff options
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 4904250a9aac..efc6fef692ff 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -970,10 +970,13 @@ static void tcp_v4_reqsk_destructor(struct request_sock *req) | |||
970 | * We need to maintain these in the sk structure. | 970 | * We need to maintain these in the sk structure. |
971 | */ | 971 | */ |
972 | 972 | ||
973 | struct static_key tcp_md5_needed __read_mostly; | ||
974 | EXPORT_SYMBOL(tcp_md5_needed); | ||
975 | |||
973 | /* Find the Key structure for an address. */ | 976 | /* Find the Key structure for an address. */ |
974 | struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk, | 977 | struct tcp_md5sig_key *__tcp_md5_do_lookup(const struct sock *sk, |
975 | const union tcp_md5_addr *addr, | 978 | const union tcp_md5_addr *addr, |
976 | int family) | 979 | int family) |
977 | { | 980 | { |
978 | const struct tcp_sock *tp = tcp_sk(sk); | 981 | const struct tcp_sock *tp = tcp_sk(sk); |
979 | struct tcp_md5sig_key *key; | 982 | struct tcp_md5sig_key *key; |
@@ -1011,7 +1014,7 @@ struct tcp_md5sig_key *tcp_md5_do_lookup(const struct sock *sk, | |||
1011 | } | 1014 | } |
1012 | return best_match; | 1015 | return best_match; |
1013 | } | 1016 | } |
1014 | EXPORT_SYMBOL(tcp_md5_do_lookup); | 1017 | EXPORT_SYMBOL(__tcp_md5_do_lookup); |
1015 | 1018 | ||
1016 | static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk, | 1019 | static struct tcp_md5sig_key *tcp_md5_do_lookup_exact(const struct sock *sk, |
1017 | const union tcp_md5_addr *addr, | 1020 | const union tcp_md5_addr *addr, |