]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: Fix MD5 signature checking on IPv4 mapped sockets
authorJohn Dykstra <john.dykstra1@gmail.com>
Thu, 16 Jul 2009 05:04:51 +0000 (05:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2009 14:49:07 +0000 (07:49 -0700)
commite3afe7b75ed8f809c1473ea9b39267487c187ccb
tree715aa813d57ffbc6b1a179e2f7f2957b88b415dc
parenta50a97d415d839e6db9df288ff0205528e52c03e
tcp: Fix MD5 signature checking on IPv4 mapped sockets

Fix MD5 signature checking so that an IPv4 active open
to an IPv6 socket can succeed.  In particular, use the
correct address family's signature generation function
for the SYN/ACK.

Reported-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: John Dykstra <john.dykstra1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_output.c
net/ipv6/tcp_ipv6.c