if_bridge.ko requires INET6...
Gleb Smirnoff
glebius at FreeBSD.org
Wed Feb 1 01:04:25 PST 2006
On Wed, Feb 01, 2006 at 12:56:58AM -0800, Luigi Rizzo wrote:
L> just noticed that if_bridge.ko fails to load if your kernel
L> is not compiled with INET6 - the failure is actually only
L> on symbols related to stats gathering in
L> bridge_ip6_checkbasic()
L>
L> I wonder if it might be worthwhile just ignoring
L> those stats when compiling if_bridge as a module,
L> so it can be loaded on ipv4 only kernels ?
If you have compiled the modules as part of buildkernel
target, then all options from kernel would apply to all
modules, thus the bridge_ip6_checkbasic() function won't
be present in if_bridge.ko, and you would successfully
load the module.
P.S. This is not if_bridge neither INET6 problem. This is
generic problem with modules built outside of buildkernel
target.
--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
More information about the freebsd-net
mailing list