Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2006 09:03:27 +0200
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        Yar Tikhiy <yar@comp.chem.msu.su>, Hajimu UMEMOTO <ume@freebsd.org>, net@freebsd.org
Subject:   Re: if_bridge.ko requires INET6...
Message-ID:  <20060202070327.GE18601@ip.net.ua>
In-Reply-To: <20060201215939.A94425@xorpc.icir.org>
References:  <20060201005658.A70005@xorpc.icir.org> <20060201090421.GT4297@FreeBSD.org> <ygehd7jquvd.wl%ume@mahoroba.org> <20060201103746.GD90360@ip.net.ua> <20060201224939.GB29980@comp.chem.msu.su> <20060201215939.A94425@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--BQPnanjtCNWHyqYD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 01, 2006 at 09:59:39PM -0800, Luigi Rizzo wrote:
> 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 <glebius@FreeBSD.org> 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.
> > 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
> can you give more details on the if_gif issue ? lookint at the
> code in if_gif.c it seems that compiling it with INET6 does not define an=
y new
> symbols but only adds some code paths within existing functions, so
> i don't exactly understand why the load failure.
>=20
in6_gif.c is also compiled with INET6, hence unresolved symbols.
But there's no issue anymore, in HEAD since December.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--BQPnanjtCNWHyqYD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD4a6/qRfpzJluFF4RAm/vAJ9yanA630mKsYev4FQtobNXaE1d4QCfaCqP
MahxQ9JABWbaN+57PhC/Hsg=
=kBNf
-----END PGP SIGNATURE-----

--BQPnanjtCNWHyqYD--



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