[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac3eb2510811240714l76b15469lea541bb4badd328@mail.gmail.com>
Date: Mon, 24 Nov 2008 16:14:54 +0100
From: "Kay Sievers" <kay.sievers@...y.org>
To: "Daniel Lezcano" <dlezcano@...ibm.com>
Cc: "Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>,
"Linux Netdev List" <netdev@...r.kernel.org>,
"Greg KH" <greg@...ah.com>, "David Miller" <davem@...emloft.net>,
"Linux Containers" <containers@...ts.osdl.org>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
"Benjamin Thery" <benjamin.thery@...l.net>
Subject: Re: [patch 1/1][RFC]Handle uevent per namespace
On Mon, Nov 24, 2008 at 11:50, Daniel Lezcano <dlezcano@...ibm.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists