ipsec: Interfamily IPSec BEET, ipv4-inner ipv6-outer
authorJoakim Koskela <jookos@gmail.com>
Wed, 6 Aug 2008 09:40:25 +0000 (02:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Aug 2008 09:40:25 +0000 (02:40 -0700)
commitabf5cdb89d09ca981db10e1a85fd8531440165f2
tree95c340f429fcb0c11d0af01fa840d84bb81895f5
parenteb49e63093498cd17382018495b8cfb5b4a679bd
ipsec: Interfamily IPSec BEET, ipv4-inner ipv6-outer

Here's a revised version, based on Herbert's comments, of a fix for
the ipv4-inner, ipv6-outer interfamily ipsec beet mode. It fixes the
network header adjustment during interfamily, as well as makes sure
that we reserve enough room for the new ipv6 header if we might have
something else as the inner family. Also, the ipv4 pseudo header
construction was added.

Signed-off-by: Joakim Koskela <jookos@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/esp6.c
net/ipv6/xfrm6_mode_beet.c