Date: Wed, 1 Feb 2006 12:04:21 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Luigi Rizzo <rizzo@icir.org> Cc: net@FreeBSD.org Subject: Re: if_bridge.ko requires INET6... Message-ID: <20060201090421.GT4297@FreeBSD.org> In-Reply-To: <20060201005658.A70005@xorpc.icir.org> References: <20060201005658.A70005@xorpc.icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060201090421.GT4297>