[IPSEC] beet: Fix extension header support on output
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 10 Oct 2007 22:42:23 +0000 (15:42 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:53 +0000 (16:55 -0700)
commitbee0b40c0621396326d1c17b81833f59118a2d80
tree94a79cef5ba189cda8e6cad2acd720da34c0463c
parent8bd170750400bfa5e14c3dd2e2d0f305e1ab0e57
[IPSEC] beet: Fix extension header support on output

The beet output function completely kills any extension headers by replacing
them with the IPv6 header.  This is because it essentially ignores the
result of ip6_find_1stfragopt by simply acting as if there aren't any
extension headers.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/xfrm6_mode_beet.c