From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Nicolas_de_Peslo=FCan?= Subject: Re: [Bonding-devel] 2.6.29 regression? Bonding tied to IPV6 in 29-rc5 Date: Tue, 17 Feb 2009 23:30:39 +0100 Message-ID: <499B3A8F.7070609@free.fr> References: <20090217095232.5da06b9f@werewolf.home> <200902172001.41804.arvidjaar@mail.ru> <200902172117.22671.arvidjaar@mail.ru> <499B19AF.1000003@hp.com> <16929.1234904788@death.nxdomain.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brian Haley , "J.A. Magallon" , Linux Kernel Mailing List , "Rafael J. Wysocki" , netdev@vger.kernel.org, Andrey Borzenkov , bonding-devel@lists.sourceforge.net To: Jay Vosburgh Return-path: Received: from smtp4-g21.free.fr ([212.27.42.4]:43227 "EHLO smtp4-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078AbZBQWay (ORCPT ); Tue, 17 Feb 2009 17:30:54 -0500 In-Reply-To: <16929.1234904788@death.nxdomain.ibm.com> Sender: netdev-owner@vger.kernel.org List-ID: 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.