diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-24 15:58:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-24 21:16:30 -0400 |
commit | fd3a154a00fb991872680f19021f5edbb40b4dbe (patch) | |
tree | 5d0b22e1e707f9ea3dcd0c3062eaaed59bc331e2 /net/ipv4/tcp_output.c | |
parent | 39f8e58e53be32ab758d30536e0bd2e6ce766462 (diff) | |
download | op-kernel-dev-fd3a154a00fb991872680f19021f5edbb40b4dbe.zip op-kernel-dev-fd3a154a00fb991872680f19021f5edbb40b4dbe.tar.gz |
tcp: md5: get rid of tcp_v[46]_reqsk_md5_lookup()
With request socks convergence, we no longer need
different lookup methods. A request socket can
use generic lookup function.
Add const qualifier to 2nd tcp_v[46]_md5_lookup() parameter.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
-rw-r--r-- | net/ipv4/tcp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index 501cf9d..2e69b8d 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -2938,7 +2938,7 @@ struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, #ifdef CONFIG_TCP_MD5SIG rcu_read_lock(); - md5 = tcp_rsk(req)->af_specific->md5_lookup(sk, req); + md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); #endif tcp_header_size = tcp_synack_options(sk, req, mss, skb, &opts, md5, foc) + sizeof(*th); |