[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02941) Re: [Patch] CONFIG_IPV6_TUNNEL needs CONFIG_XFRM



On Fri, Apr 30, 2004 at 09:30:54AM +0900, YOSHIFUJI Hideaki / åèèæ wrote:
> In article <20040429172654.GA7834@xxxxxxxxxxxxxxxxxxxxxxxxx> (at Fri, 30 Apr 2004 03:26:54 +1000), Paul.Hampson@xxxxxxxxxx (Paul Hampson) says:
> 
> > Attached is the patch needed to allow the kernel to build if you
> > enable IPV6_TUNNEL but none of the IPSEC transformations.

> Is this a real bug?
> I belive CONFIG_XFRM is always selected when CONFIG_NET is selected.

It certainly wasn't in the configuration I described (building on PPC32,
in case it makes a difference). Final linking of the kernel failed
missing xfrm6_tunnel_register and two similar function. (From memory)

A brief stroll through net/Kconfig and net/ipv?/Kconfig indicates it
is only pulled in by PF_KEY sockets, IP: tunneling, IP: GRE tunnels over
IP, IP: AH transformations, IP: ESP transformations, IP: IPComp
transformations, the IPv6 version of those transformations, and (now)
IPv6: IPv6-in-IPv6 tunnel.

Looking in arch/ it _is_ set by default on many arches, but not ppc32.

> Anyway, patch applied, thanks.

Glad I can help. :-)

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, MCSE
7th year CompSci/Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@xxxxxxxxxx

"No survivors? Then where do the stories come from I wonder?"
-- Capt. Jack Sparrow, "Pirates of the Caribbean"

This email is licensed to the recipient for non-commercial
use, duplication and distribution.
-----------------------------------------------------------

Attachment: signature.asc
Description: Digital signature