tcp: md5: using remote adress for md5 lookup in rst packet
authorshawnlu <shawn.lu@ericsson.com>
Fri, 20 Jan 2012 12:22:04 +0000 (12:22 +0000)
committerSimone Willett <swillett@nvidia.com>
Wed, 8 Feb 2012 22:31:41 +0000 (14:31 -0800)
commit7e14f410185a53b6112c629c12815b110e6f40c6
tree60fc7464ee77aba6b968be292cf5179475aa854a
parentc6d519412d7ef7ab7fb351b64421876b3b95d88d
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>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Ib092cc760c830540564414aa1d400e5eb78208f6
Reviewed-on: http://git-master/r/79697
Reviewed-by: Automatic_Commit_Validation_User
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c