summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-10-18 06:34:46 +0200
committerDavid S. Miller <davem@davemloft.net>2007-10-18 06:34:46 +0200
commited3e37ddb0b422120d3d2d5da718c44c40af30ba (patch)
tree63e54b342e197045106581fde1005aff38e2df33 /net/ipv6/ah6.c
parent[IPSEC]: Store afinfo pointer in xfrm_mode (diff)
downloadlinux-ed3e37ddb0b422120d3d2d5da718c44c40af30ba.tar.xz
linux-ed3e37ddb0b422120d3d2d5da718c44c40af30ba.zip
[IPSEC]: Use the top IPv4 route's peer instead of the bottom
For IPv4 we were using the bottom route's peer instead of the top one. This is wrong because the peer is only used by TCP to keep track of information about the TCP destination address which certainly does not live in the bottom route. This patch fixes that which allows us to get rid of the family check since the bottom route could be IPv6 while the top one must always be IPv4. I've also changed the other fields which are IPv4-specific to get the info from the top route instead of potentially bogus data from the bottom route. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ah6.c')
0 files changed, 0 insertions, 0 deletions