[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071017.213455.13773024.davem@davemloft.net>
Date: Wed, 17 Oct 2007 21:34:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: yoshfuji@...ux-ipv6.org, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH 9/11] [IPSEC]: Use the top IPv4 route's peer instead of
the bottom
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 17 Oct 2007 22:34:17 +0800
> [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@...dor.apana.org.au>
Applied, thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists