tcp: md5: using remote adress for md5 lookup in rst packet
commit81ecd154d0b07bd5dab6e4f09336cb068b70bcb9
authorshawnlu <shawn.lu@ericsson.com>
Fri, 20 Jan 2012 12:22:04 +0000 (20 12:22 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2012 17:19:04 +0000 (3 09:19 -0800)
treeb93363dce01b629923b1ab0c38aa4174edbd2c45
parent8b4bb350e120fe0b32a0b1b8d227e65af03e3993
tcp: md5: using remote adress for md5 lookup in rst packet

[ Upstream commit 8a622e71f58ec9f092fc99eacae0e6cf14f6e742 ]

md5 key is added in socket through remote address.
remote address should be used in finding md5 key when
sending out reset packet.

Signed-off-by: shawnlu <shawn.lu@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c