From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: echo > 0 .../disable_ipv6 broken in 2.6.37-rc4 Date: Wed, 08 Dec 2010 15:13:30 -0800 Message-ID: References: <4CFD0AF0.9090809@hp.com> <4D000B6D.1060708@hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, Mahesh Kelkar , Lorenzo Colitti , Stephen Hemminger To: Brian Haley Return-path: Received: from out01.mta.xmission.com ([166.70.13.231]:39164 "EHLO out01.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756369Ab0LHXNg (ORCPT ); Wed, 8 Dec 2010 18:13:36 -0500 In-Reply-To: <4D000B6D.1060708@hp.com> (Brian Haley's message of "Wed, 08 Dec 2010 17:49:17 -0500") Sender: netdev-owner@vger.kernel.org List-ID: Brian Haley writes: > This got broken in 2.6.34-rc1, and the most obvious culprit is this, > although I haven't bisected it: > > commit dc2b99f71ef477a31020511876ab4403fb7c4420 > Author: stephen hemminger > Date: Mon Feb 8 19:48:05 2010 +0000 > > IPv6: keep permanent addresses on admin down > > Permanent IPV6 addresses should not be removed when the link is > set to admin down, only when device is removed. > > When link is lost permanent addresses should be marked as tentative > so that when link comes back they are subject to duplicate address > detection (if DAD was enabled for that address). > > Other routing systems keep manually configured IPv6 addresses > when link is set down. > > Even though there was a bugfix update, it didn't help. > > I unfortunately won't be able to look at this more until at least Friday, > I couldn't come up with a quick patch just looking quickly at > addrconf_ifdown(). This is almost certainly it. ip link set lo down ip link set lo up Is enough to break ping6 ::1. I get the feeling the loopback address was not actually tested and there is something different about it. Eric