ipv4: Fixed MD5 key lookups when adding/ removing MD5 to/ from TCP sockets.
authorAydin Arik <aydin.arik@alliedtelesis.co.nz>
Fri, 14 Jun 2013 06:56:31 +0000 (18:56 +1200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 04:21:53 +0000 (21:21 -0700)
commitc0353c7b5da4cbd2ab8227e84bbc9c79890f24ce
tree6b4eb078174488b725ce9b87abe2b88bea359f73
parentf5351ef73e476d7019fcd7a1c4461a153f663b4b
ipv4: Fixed MD5 key lookups when adding/ removing MD5 to/ from TCP sockets.

MD5 key lookups on a given TCP socket were being performed
incorrectly. This fix alters parameter inputs to the MD5
lookup function tcp_md5_do_lookup, which is called by functions
tcp_md5_do_add and tcp_md5_do_del. Specifically, the change now
inputs the correct address and address family required to make
a proper lookup.

Signed-off-by: Aydin Arik <aydin.arik@alliedtelesis.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c