Re: [PATCH 2.6.20] kobject net ifindex + rename

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Berg
Date: Wednesday, February 28, 2007 - 2:16 am

Hi,


... and in the meantime netdevices aren't class_device any more :) IOW,
your patch isn't going to work any more. Also, I think wireless could
benefit from this as well.


Why not just add this to base kobject_rename instead? That way,
userspace is notified for all renames in sysfs.
The patch then collapses down to the change in net's sysfs code to add
the ifindex to the environment, and another change in kobject to invoke
a new event when a name changes and show the old name.

johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Tue Feb 27, 6:27 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Johannes Berg, (Wed Feb 28, 2:16 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jarek Poplawski, (Wed Feb 28, 2:34 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jarek Poplawski, (Wed Feb 28, 2:52 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Greg KH, (Wed Feb 28, 8:36 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Wed Feb 28, 11:43 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Wed Feb 28, 11:45 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Wed Feb 28, 11:51 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Johannes Berg, (Wed Feb 28, 12:03 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Wed Feb 28, 5:26 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Johannes Berg, (Wed Feb 28, 5:37 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Wed Feb 28, 5:51 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Johannes Berg, (Wed Feb 28, 5:57 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jarek Poplawski, (Thu Mar 1, 12:42 am)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jean Tourrilhes, (Thu Mar 1, 12:27 pm)
Re: [PATCH 2.6.20] kobject net ifindex + rename, Jarek Poplawski, (Fri Mar 2, 2:18 am)