FAST_IPSEC without INET6

Eygene Ryabinkin rea-fbsd at codelabs.ru
Tue Jul 3 09:30:26 UTC 2007


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


More information about the freebsd-net mailing list