[IPSEC] Check encap_type at config time
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-06-25 12:35:27
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2004-06-25 12:35:27
On Fri, Jun 25, 2004 at 10:11:47PM +1000, herbert wrote:
PS I will be doing a similar patch for the encap_type in xfrm.
Here is the patch to check encap_type at the earliest possible opportunity in xfrm_user/af_key. This will allow us to assume in esp4 that the encap_type from x->encap is always valid. 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