From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Haley Subject: [PATCH 0/2] Bonding: fix IPv6 module requirement regression Date: Tue, 03 Mar 2009 21:37:10 -0500 Message-ID: <49ADE956.1020702@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrey Borzenkov , Vladislav Yasevich , Chuck Lever , Theodore Tso , Valdis.Kletnieks@vt.edu, "Rafael J. Wysocki" , "netdev@vger.kernel.org" , bonding-devel@lists.sourceforge.net, =?ISO-8859-1?Q?=22J=2EA=2E_Magall?= =?ISO-8859-1?Q?=F3n=22?= , Linux Kernel Mailing List , Jay Vosburgh To: David Miller Return-path: Received: from g4t0014.houston.hp.com ([15.201.24.17]:30923 "EHLO g4t0014.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750760AbZCDChQ (ORCPT ); Tue, 3 Mar 2009 21:37:16 -0500 Sender: netdev-owner@vger.kernel.org List-ID: These patches fix the Bonding module's requirement to have the IPv6 module loaded and configured by creating a new "disable" module parameter value for ipv6.ko. This allows users who do not want any IPv6 addresses or sockets to be created to disable IPv6 support, while still loading the module and making it's symbols available. This can be specified in /etc/modprobe.conf (or similar) with "options ipv6 disable=1". I've verified that Bonding, SCTP, Sunrpc and DCCP will still load, however dccp_ipv6 will not load when disable=1 - I believe this is ok as IPv6 won't work anyways. Documentation/networking/ipv6.txt | 35 +++++++++++++++++++++++++++++++++++ net/ipv6/af_inet6.c | 22 ++++++++++++++++------ net/sctp/protocol.c | 11 ++++++++--- 3 files changed, 59 insertions(+), 9 deletions(-)