From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: net-next: warnings from sysctl_net_exit Date: Sun, 27 Feb 2011 10:45:55 -0800 Message-ID: <20110227104555.328f5d75@nehalam> References: <20110226165601.48858003@nehalam> <20110226.222333.59680338.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: adobriyan@gmail.com, netdev@vger.kernel.org To: David Miller Return-path: Received: from mail.vyatta.com ([76.74.103.46]:40674 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829Ab1B0Sp6 (ORCPT ); Sun, 27 Feb 2011 13:45:58 -0500 In-Reply-To: <20110226.222333.59680338.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 26 Feb 2011 22:23:33 -0800 (PST) David Miller wrote: > From: Stephen Hemminger > Date: Sat, 26 Feb 2011 16:56:01 -0800 > > > Seeing lots of these messages in dmesg. Something is broken > > recently in net-next. > > Did you by change pull plain net-2.6 into that tree? Because one > commit which is in net-2.6 but not in net-next-2.6 catches my eye: > > commit c486da34390846b430896a407b47f0cea3a4189c > Author: Lucian Adrian Grijincu > Date: Thu Feb 24 19:48:03 2011 +0000 > > sysctl: ipv6: use correct net in ipv6_sysctl_rtcache_flush > > Before this patch issuing these commands: > > fd = open("/proc/sys/net/ipv6/route/flush") > unshare(CLONE_NEWNET) > write(fd, "stuff") > > would flush the newly created net, not the original one. > > The equivalent ipv4 code is correct (stores the net inside ->extra1). > Acked-by: Daniel Lezcano > > Signed-off-by: David S. Miller > I am building against pure net-next tree. Just checked by recloning. --