]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit888cf77546132926a4ab613edb55a7a7601958fe
tree6b4eb078174488b725ce9b87abe2b88bea359f73
parent8ec88a59dcf4550180f011fd97aef8e4997be95e
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