[XFRM]: State selection update to use inner addresses.
authorJoakim Koskela <jookos@gmail.com>
Thu, 26 Jul 2007 07:08:42 +0000 (00:08 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:28:33 +0000 (02:28 -0700)
commit48b8d78315bf2aef4b6b4fb41c2c94e0b6600234
tree9cbb0f9eeec383e74063b1b52be85da5148adf4b
parent196b003620f1ee8d0fc63f13f341187d63c1dc0a
[XFRM]: State selection update to use inner addresses.

This patch modifies the xfrm state selection logic to use the inner
addresses where the outer have been (incorrectly) used. This is
required for beet mode in general and interfamily setups in both
tunnel and beet mode.

Signed-off-by: Joakim Koskela <jookos@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Diego Beltrami <diego.beltrami@gmail.com>
Signed-off-by: Miika Komu <miika@iki.fi>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c