From owner-freebsd-net@FreeBSD.ORG Thu Feb 2 07:07:59 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEC0B16A420; Thu, 2 Feb 2006 07:07:58 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB2C443D49; Thu, 2 Feb 2006 07:07:56 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1276SWL086542; Thu, 2 Feb 2006 09:06:28 +0200 (EET) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 40454-01; Thu, 2 Feb 2006 09:06:26 +0200 (EET) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k1271kmU084795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Feb 2006 09:01:47 +0200 (EET) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.4/8.13.4) id k1271na1019668; Thu, 2 Feb 2006 09:01:49 +0200 (EET) (envelope-from ru) Date: Thu, 2 Feb 2006 09:01:49 +0200 From: Ruslan Ermilov To: Yar Tikhiy Message-ID: <20060202070149.GD18601@ip.net.ua> References: <20060201005658.A70005@xorpc.icir.org> <20060201090421.GT4297@FreeBSD.org> <20060201103746.GD90360@ip.net.ua> <20060201224939.GB29980@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ylS2wUBXLOxYXZFQ" Content-Disposition: inline In-Reply-To: <20060201224939.GB29980@comp.chem.msu.su> User-Agent: Mutt/1.5.9i X-Virus-Scanned: by amavisd-new at ip.net.ua Cc: Luigi Rizzo , Hajimu UMEMOTO , net@freebsd.org Subject: Re: if_bridge.ko requires 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: Thu, 02 Feb 2006 07:07:59 -0000 --ylS2wUBXLOxYXZFQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2006 at 01:49:40AM +0300, Yar Tikhiy wrote: > On Wed, Feb 01, 2006 at 12:37:46PM +0200, Ruslan Ermilov wrote: > > On Wed, Feb 01, 2006 at 06:41:10PM +0900, Hajimu UMEMOTO wrote: > > > >>>>> On Wed, 1 Feb 2006 12:04:21 +0300 > > > >>>>> Gleb Smirnoff said: > > >=20 > > > glebius> If you have compiled the modules as part of buildkernel > > > glebius> target, then all options from kernel would apply to all > > > glebius> modules, thus the bridge_ip6_checkbasic() function won't > > > glebius> be present in if_bridge.ko, and you would successfully > > > glebius> load the module. > > >=20 > > > I believe it is 7-CURRENT thing, and is not MFCed yet. So, if it is > > > on 6.x, you need -DNO_INET6 to build if_bridge.ko. > > >=20 > > Ask yar@ to MFC his modules/ mega-commit that fixed this in HEAD. > > I'd really love to see it in 6.1. >=20 > I haven't considered that an option since two issues were found > related to my mega-commit. One was that if_gif wouln't load due > to unresolved symbols if built w/o INET6. The other was in the > pf module -- pflog would be lost as it didn't have a separate module. >=20 > The essence of the first issue is that the set of source files > for a module cannot depend on kernel options, unlike for the main > kernel file. >=20 I thought I've fixed it in December (in CVS). I'm running if_gif.ko without any problems on INET6-less kernel. > The second issue has to do with the fact that pflog is more to > a plain option than to a device, as there are `#ifdef DEV_PFLOG' > lines in the pf code conditionalizing the pflog feature. >=20 This needs to be fixed in pf then. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ylS2wUBXLOxYXZFQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4a5dqRfpzJluFF4RAmhOAJ0TQy1IOigtq5oQl571oMqSBCvbagCgjPnz wpeQ5NY+PWzvDaYGnB5W5pk= =qiUd -----END PGP SIGNATURE----- --ylS2wUBXLOxYXZFQ--