Re: [PATCH 09/10] netns: Enable tagging for net_class directories in sysfs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Thery
Date: Tuesday, June 3, 2008 - 8:24 am

Greg KH wrote:
 >
 > Can't this be done only in the network subsystem?

I'm not sure to understand exactly what you mean.

What you don't like is seeing these hunks of network code in
fs/sysfs/mount.c? And you prefer to see these bits of code resides in
the network subsystem instead and see only "generic" sysfs services in
fs/sysfs/mount.c?

If this is it, I have some idea to implement a less intrusive
sysfs_net_exit(), which can be shared with the other namespaces.
Serge introduces the same kind of changes in patch 10 to fix an issue in 
  user namespace. I think we can share a bit of code and move the parts
specific to each namespace in their own subsystems.

Benjamin



-- 
B e n j a m i n   T h e r y  - BULL/DT/Open Software R&D

    http://www.bull.com
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 09/10] netns: Enable tagging for net_class dire ..., Benjamin Thery, (Tue Jun 3, 8:24 am)