if_bridge.ko requires INET6...

Ruslan Ermilov ru at freebsd.org
Wed Feb 1 23:07:59 PST 2006


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 at FreeBSD.org> said:
> > > 
> > > 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.
> > > 
> > > 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.
> > > 
> > Ask yar@ to MFC his modules/ mega-commit that fixed this in HEAD.
> > I'd really love to see it in 6.1.
> 
> 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.
> 
> 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.
> 
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.
> 
This needs to be fixed in pf then.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20060202/28e56dcc/attachment.bin


More information about the freebsd-net mailing list