netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Bonding: fix IPv6 module requirement regression
@ 2009-03-04  2:37 Brian Haley
  2009-03-04  4:20 ` Andrey Borzenkov
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Haley @ 2009-03-04  2:37 UTC (permalink / raw)
  To: David Miller
  Cc: Andrey Borzenkov, Vladislav Yasevich, Chuck Lever, Theodore Tso,
	Valdis.Kletnieks, Rafael J. Wysocki, netdev@vger.kernel.org,
	bonding-devel, "J.A. Magallón",
	Linux Kernel Mailing List, Jay Vosburgh


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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2] Bonding: fix IPv6 module requirement regression
  2009-03-04  2:37 [PATCH 0/2] Bonding: fix IPv6 module requirement regression Brian Haley
@ 2009-03-04  4:20 ` Andrey Borzenkov
  2009-03-04 11:11   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Borzenkov @ 2009-03-04  4:20 UTC (permalink / raw)
  To: Brian Haley
  Cc: David Miller, Vladislav Yasevich, Chuck Lever, Theodore Tso,
	Valdis.Kletnieks, Rafael J. Wysocki, netdev@vger.kernel.org,
	bonding-devel, J.A. Magallón, Linux Kernel Mailing List,
	Jay Vosburgh

[-- Attachment #1: Type: text/plain, Size: 688 bytes --]

On 4 марта 2009 05:37:10 Brian Haley wrote:
> 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".
>

While this is definitely the right approach, it requires completely new 
infrastructure to disable IPv6 (including resolving update issues). So I 
guess this is post-2.6.29 material.




[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2] Bonding: fix IPv6 module requirement regression
  2009-03-04  4:20 ` Andrey Borzenkov
@ 2009-03-04 11:11   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-03-04 11:11 UTC (permalink / raw)
  To: arvidjaar
  Cc: brian.haley, vladislav.yasevich, chuck.lever, tytso,
	Valdis.Kletnieks, rjw, netdev, bonding-devel, jamagallon,
	linux-kernel, fubar

From: Andrey Borzenkov <arvidjaar@gmail.com>
Date: Wed, 4 Mar 2009 07:20:30 +0300

> On 4 марта 2009 05:37:10 Brian Haley wrote:
> > 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".
> 
> While this is definitely the right approach, it requires completely new 
> infrastructure to disable IPv6 (including resolving update issues). So I 
> guess this is post-2.6.29 material.

No, Brian's patches are is the only reasonable way to fix this
bug, even in 2.6.29

We not going to let the ipv6 module load disable hack live any
longer, sorry.

I'm going to apply and push out Brian's patches.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-04 11:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04  2:37 [PATCH 0/2] Bonding: fix IPv6 module requirement regression Brian Haley
2009-03-04  4:20 ` Andrey Borzenkov
2009-03-04 11:11   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).