tcp: md5: remove request sock argument of calc_md5_hash()
authorEric Dumazet <edumazet@google.com>
Tue, 24 Mar 2015 22:58:55 +0000 (15:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2015 01:16:30 +0000 (21:16 -0400)
commit39f8e58e53be32ab758d30536e0bd2e6ce766462
tree2256b441433a11337077f2f82534903c9e52fefa
parentff74e23f7edb3759d1290b10f80222e3bbb6304b
tcp: md5: remove request sock argument of calc_md5_hash()

Since request and established sockets now have same base,
there is no need to pass two pointers to tcp_v4_md5_hash_skb()
or tcp_v6_md5_hash_skb()

Also add a const qualifier to their struct tcp_md5sig_key argument.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c