]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fe55fd5ce5df7cabbb98d71877f6be285d57bc8
tree2256b441433a11337077f2f82534903c9e52fefa
parent890366863ceb05f0d20ae0720a9d99c5fc6b9f5a
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