[PATCH 1/3] [IPSEC]: Forbid BEET + ipcomp for now

2007-10-24 Thread Herbert Xu
[IPSEC]: Forbid BEET + ipcomp for now While BEET can theoretically work with IPComp the current code can't do that because it tries to construct a BEET mode tunnel type which doesn't (and cannot) exist. In fact as it is it won't even attach a tunnel object at all for BEET which is bogus. To supp

Re: [PATCH 1/3] [IPSEC]: Forbid BEET + ipcomp for now

2007-10-24 Thread Herbert Xu
On Wed, Oct 24, 2007 at 05:41:34PM +0200, Nicolas Dichtel wrote: > > >+x->props.header_len = 0; > >+switch (x->props.mode) { > >+case XFRM_MODE_TRANSPORT: > >+break; > >+case XFRM_MODE_TUNNEL: > >+x->props.header_len += sizeof(struct iphdr); > I think, the br