Re: [Bonding-devel] 2.6.29 regression? Bonding tied to IPV6 in 29-rc5

From: Nicolas de Pesloüan
Date: Tue Feb 17 2009 - 17:31:16 EST


Jay Vosburgh wrote:
I'm not sure either of those really helps. Distro kernels are
built with CONFIG_IPV6 (and would have the CONFIG_BONDING_IPV6_DINGUS
enabled as well), so the common case users would have it enabled, too.

Putting the ipv6 bits into a different module might not help,
either, because the "core" bonding code would still have the call to the
ipv6 functions. Unless there's some magic way to somehow know at
runtime whether or not the ipv6 module is loaded, and only try to
resolve those symbols if ipv6 is loaded. That seems complicated.

What about aliasing ipv6 to a dummy module "dummy-ipv6-for-bonding" that only provide the required symbols and do (close to) nothing ?

Just my two cents.

Nicolas.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/