Re: [IPSEC] Move generic encap code into xfrm6_output
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-07-28 12:15:26
Attachments
- incremental [text/plain] 1129 bytes · preview
- p [text/x-pascal] 17548 bytes · preview
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-07-28 12:15:26
On Sun, Jul 25, 2004 at 08:40:28PM +1000, herbert wrote:
Here is the IPv6 version of the generic tunnel encapsulation code. It is amazing to see how similar the IPv6 transform code is to its IPv4 counterpart (except for AH) once the tunnel encapsulation code is gone. Maybe we can merge them one day.
That version is buggy. It breaks both AH and transport mode. Here is an incremental patch showing the fixes as well as the corrected patch in its entirety. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt