Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2007 13:30:20 +0400
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        gnn@freebsd.org
Cc:        freebsd-net@freebsd.org
Subject:   FAST_IPSEC without INET6
Message-ID:  <20070703093020.GA6161@void.codelabs.ru>

next in thread | raw e-mail | index | archive | help
George, good day.

I had tried to build my kernel on the -CURRENT after your FAST_IPSEC
commits and I failed.  The problem is that I am running without
INET6, so inet6_tcp_input misses three functions on the kernel
linking stage.

I believe that the following patch will cure the situation: we don't
need ip6_ipsec.c when we're running without inet6.
-----
--- sys/conf/files.orig	2007-07-03 11:19:27.000000000 +0400
+++ sys/conf/files	2007-07-03 11:20:03.000000000 +0400
@@ -1880,7 +1880,7 @@
 netinet6/ip6_input.c		optional inet6
 netinet6/ip6_mroute.c		optional mrouting inet6
 netinet6/ip6_output.c		optional inet6
-netinet6/ip6_ipsec.c		optional fast_ipsec
+netinet6/ip6_ipsec.c		optional fast_ipsec inet6
 netinet6/mld6.c			optional inet6
 netinet6/nd6.c			optional inet6
 netinet6/nd6_nbr.c		optional inet6
-----
It works for me: fixes kernel compilation and after the build
IPSec stack is running fine.
-- 
Eygene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070703093020.GA6161>