Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758585AbYHUGs1 (ORCPT ); Thu, 21 Aug 2008 02:48:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758244AbYHUGrW (ORCPT ); Thu, 21 Aug 2008 02:47:22 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:54274 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1758234AbYHUGrU (ORCPT ); Thu, 21 Aug 2008 02:47:20 -0400 Date: Wed, 20 Aug 2008 23:47:19 -0700 (PDT) Message-Id: <20080820.234719.243864265.davem@davemloft.net> To: ebiederm@xmission.com Cc: greg@kroah.com, gregkh@suse.de, akpm@linux-foundation.org, htejun@gmail.com, dlezcano@fr.ibm.com, linux-kernel@vger.kernel.org, viro@ftp.linux.org.uk, containers@lists.osdl.org, benjamin.thery@bull.net, netdev@vger.kernel.org Subject: Re: [PATCH 7/8] netns: Enable tagging for net_class directories in sysfs From: David Miller In-Reply-To: References: X-Mailer: Mew version 5.2 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1051 Lines: 25 From: ebiederm@xmission.com (Eric W. Biederman) Date: Wed, 20 Aug 2008 23:39:13 -0700 > > The problem. Network devices show up in sysfs and with the network > namespace active multiple devices with the same name can show up in > the same directory, ouch! > > To avoid that problem and allow existing applications in network namespaces > to see the same interface that is currently presented in sysfs, this > patch enables the tagging directory support in sysfs. > > By using the network namespace pointers as tags to separate out the > the sysfs directory entries we ensure that we don't have conflicts > in the directories and applications only see a limited set of > the network devices. > > Signed-off-by: Eric W. Biederman Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/