Re: recent sysfs changes cause lots of network device errors

2007-10-30 Thread Rick Jones
Well, this was a bug that no one caught in -mm as we all seem to be running with CONFIG_SYSFS_DEPRECATED disabled. There was a long discussion on lkml last week, and here's the patch that should fix it that is going to Linus in a day or so (it's in my tree, but I'm supposed to be on vacation righ

Re: recent sysfs changes cause lots of network device errors

2007-10-30 Thread Greg KH
On Tue, Oct 30, 2007 at 03:00:10PM -0700, Stephen Hemminger wrote: > It seems that the network device rename done by distro's > interacts badly with the code in device_rename() in 2.6.24 > (post -rc1). Network devices create sysfs entries where the sd->s_name is > just a pointer over to the actua

recent sysfs changes cause lots of network device errors

2007-10-30 Thread Stephen Hemminger
It seems that the network device rename done by distro's interacts badly with the code in device_rename() in 2.6.24 (post -rc1). Network devices create sysfs entries where the sd->s_name is just a pointer over to the actual buffer in the netdevice. Prior to calling device_rename, the code in de