From owner-freebsd-net@FreeBSD.ORG Tue Jul 3 09:40:15 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A67F816A46B; Tue, 3 Jul 2007 09:40:15 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.freebsd.org (Postfix) with ESMTP id 66B9B13C45A; Tue, 3 Jul 2007 09:40:15 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id CCA251FF94F; Tue, 3 Jul 2007 11:40:13 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id DF2AF1FF94D; Tue, 3 Jul 2007 11:40:07 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 894044448A9; Tue, 3 Jul 2007 09:40:04 +0000 (UTC) Date: Tue, 3 Jul 2007 09:40:03 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Eygene Ryabinkin In-Reply-To: <20070703093020.GA6161@void.codelabs.ru> Message-ID: <20070703093922.L31116@maildrop.int.zabbadoz.net> References: <20070703093020.GA6161@void.codelabs.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: "George V. Neville-Neil" , freebsd-net@freebsd.org Subject: Re: FAST_IPSEC without INET6 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2007 09:40:15 -0000 On Tue, 3 Jul 2007, Eygene Ryabinkin wrote: Hi, > 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. This was fixed already: http://docs.freebsd.org/cgi/mid.cgi?200707030720.l637KLB9095895 Just update and try again;) -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT Software is harder than hardware so better get it right the first time.