From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754859AbZBRQZn (ORCPT ); Wed, 18 Feb 2009 11:25:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752610AbZBRQZa (ORCPT ); Wed, 18 Feb 2009 11:25:30 -0500 Received: from acsinet12.oracle.com ([141.146.126.234]:50928 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751458AbZBRQZ3 (ORCPT ); Wed, 18 Feb 2009 11:25:29 -0500 Cc: David Miller , Valdis.Kletnieks@vt.edu, arvidjaar@mail.ru, rjw@sisk.pl, netdev@vger.kernel.org, bonding-devel@lists.sourceforge.net, jamagallon@ono.com, linux-kernel@vger.kernel.org Message-Id: <06F54D7E-EE07-49C9-AD8F-B46BD6B02ABA@oracle.com> From: Chuck Lever To: Theodore Tso In-Reply-To: <20090218135537.GF3600@mini-me.lan> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: 2.6.29 regression? Bonding tied to IPV6 in 29-rc5 Date: Wed, 18 Feb 2009 11:24:45 -0500 References: <200902172001.41804.arvidjaar@mail.ru> <20090217.142946.232071526.davem@davemloft.net> <25143.1234932076@turing-police.cc.vt.edu> <20090217.212919.259912220.davem@davemloft.net> <20090218135537.GF3600@mini-me.lan> X-Mailer: Apple Mail (2.930.3) X-Source-IP: acsmt707.oracle.com [141.146.40.85] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020B.499C3653.0090:SCFSTAT928724,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Feb 18, 2009, at Feb 18, 2009, 8:55 AM, Theodore Tso wrote: > On Tue, Feb 17, 2009 at 09:29:19PM -0800, David Miller wrote: >> Next, if it's just an issue of IPV6 traffic, install a packet >> scheduler rule that rejects all packets with ethernet proto >> ETH_P_IPV6 >> >> If openning up ipv6 sockets is problematic, that can be blocked >> using the security layer, which your super-duper distro kernel >> is guarenteed to have enabled. :-) >> >> I'm sure there is someone who has legacy problems with ipv4 >> and that can't be disabled, and somehow people cope. Amazing. Here's another "me too". Kernel RPC support also has this problem. We hit it just a couple of weeks ago now that we have IPv6 enabled NFS in prototype. If PF_INET6 listener creation fails (eg. because ipv6.ko is blacklisted), our workaround right now is to retry the listener socket creation with PF_INET. There are plenty of somewhat rare corner cases that make this less than ideal. > The reality is that there are far more people who have legacy problems > with ipv6 than ipv4 (which has been around and in active use for about > 3 decades, after all), whereas ipv6 has been around and largely > ignored for about a decade. :-/ > > I'll admit that I ran into some wierd sh*t problems with some open > source software or another failing mysteriously when IPv6 was enabled, > and I dealt with it by simply disabling IPv6 (yeah, I blocked the > module). I was in a hurry, and it just didn't work, and I had better > thing to do than to spend time trying to debug why the presense of an > IPv6 enabled interface caused programs to misbehave in random ways. > > I think I can pretty much guarantee that distro users will be > clamoring for a quick and easy way to block ipv6, and it's in our > interest to document the recomended way to block it that doesn't cause > weird problems with bonding, etc. A better solution would be to design kernel and user space networking to handle this use case, instead of providing a workaround. From the variety of comments I've heard, this use case is pretty common. Considering the government mandates requiring IPv6 support (and the advertisements by Linux vendors claiming IPv6 support), IPv6 needs to become a first-class citizen in Linux in fairly short order. It still feels a little piecemeal to me to be called "production ready." -- Chuck Lever chuck[dot]lever[at]oracle[dot]com