]> 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)
commit3821a2187a65b7f3afc5fccb13e8d3fe5b6eff7a
tree2256b441433a11337077f2f82534903c9e52fefa
parentbbcbd6adb7ab1a3df5c73fc690a1b256cab8fb89
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