diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-01-30 20:04:42 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-31 12:13:59 -0500 |
commit | a2d91241a80ec9bbc5ab24b9a2c4d730b3fa5730 (patch) | |
tree | a7f7806de977f4c0df5073c6eee1e0151d741b81 /net/ipv4 | |
parent | 6c05d25267ebb371c4311de6904f740342e82f7c (diff) |
tcp: md5: remove obsolete md5_add() method
We no longer use md5_add() method from struct tcp_sock_af_ops
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 337ba4cca052..345e24928fa6 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -967,13 +967,6 @@ int tcp_v4_md5_do_add(struct sock *sk, __be32 addr, | |||
967 | } | 967 | } |
968 | EXPORT_SYMBOL(tcp_v4_md5_do_add); | 968 | EXPORT_SYMBOL(tcp_v4_md5_do_add); |
969 | 969 | ||
970 | static int tcp_v4_md5_add_func(struct sock *sk, struct sock *addr_sk, | ||
971 | u8 *newkey, u8 newkeylen) | ||
972 | { | ||
973 | return tcp_v4_md5_do_add(sk, inet_sk(addr_sk)->inet_daddr, | ||
974 | newkey, newkeylen); | ||
975 | } | ||
976 | |||
977 | int tcp_v4_md5_do_del(struct sock *sk, __be32 addr) | 970 | int tcp_v4_md5_do_del(struct sock *sk, __be32 addr) |
978 | { | 971 | { |
979 | struct tcp_sock *tp = tcp_sk(sk); | 972 | struct tcp_sock *tp = tcp_sk(sk); |
@@ -1853,7 +1846,6 @@ EXPORT_SYMBOL(ipv4_specific); | |||
1853 | static const struct tcp_sock_af_ops tcp_sock_ipv4_specific = { | 1846 | static const struct tcp_sock_af_ops tcp_sock_ipv4_specific = { |
1854 | .md5_lookup = tcp_v4_md5_lookup, | 1847 | .md5_lookup = tcp_v4_md5_lookup, |
1855 | .calc_md5_hash = tcp_v4_md5_hash_skb, | 1848 | .calc_md5_hash = tcp_v4_md5_hash_skb, |
1856 | .md5_add = tcp_v4_md5_add_func, | ||
1857 | .md5_parse = tcp_v4_parse_md5_keys, | 1849 | .md5_parse = tcp_v4_parse_md5_keys, |
1858 | }; | 1850 | }; |
1859 | #endif | 1851 | #endif |