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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jan 2012 20:08:45 +0000 (15:08 -0500)
commit8a622e71f58ec9f092fc99eacae0e6cf14f6e742
treed0a19d7ad6672eb38a14b9d2cedf5fab690d18f4
parentdf505eb804d5221c3164ebecd1286cb7fc7f49ba
tcp: md5: using remote adress for md5 lookup in rst packet

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>
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c