Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753355AbYKXPPN (ORCPT ); Mon, 24 Nov 2008 10:15:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751920AbYKXPO5 (ORCPT ); Mon, 24 Nov 2008 10:14:57 -0500 Received: from ey-out-2122.google.com ([74.125.78.26]:41949 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751178AbYKXPO4 (ORCPT ); Mon, 24 Nov 2008 10:14:56 -0500 Message-ID: Date: Mon, 24 Nov 2008 16:14:54 +0100 From: "Kay Sievers" To: "Daniel Lezcano" Subject: Re: [patch 1/1][RFC]Handle uevent per namespace Cc: "Linux Kernel Mailing List" , "Linux Netdev List" , "Greg KH" , "David Miller" , "Linux Containers" , "Eric W. Biederman" , "Benjamin Thery" In-Reply-To: <492A86FA.5080804@fr.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <492A86FA.5080804@fr.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 814 Lines: 27 On Mon, Nov 24, 2008 at 11:50, Daniel Lezcano wrote: struct kobject { const char *name; struct list_head entry; @@ -63,6 +65,9 @@ struct kobject { struct kset *kset; struct kobj_type *ktype; struct sysfs_dirent *sd; +#ifdef CONFIG_NET + struct net *net; +#endif struct kref kref; unsigned int state_initialized:1; unsigned int state_in_sysfs:1; We cannot do that. Network specific stuff does not belong into kobjects. Kobjects are not in any way subsystem specific, and we need to keep it that way. Thanks, Kay -- 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/