Commits
Pavel Emelyanov authored and Denis V. Lunev committed 90813987d94
NET: Re-register sysfs entry when moving netdevice into VE Seems like we only have to call netdev_(un)register_sysfs() in correct order with proper locking #98423 The only problem we may have is when register sysfs fails - there is not way to gracefully handle this case, since this may be on netdev_del or ve_stop action when returning error is not an option and trying to register this thing back may fail as well. Known side effect after this patch - the /sys/class/net/<dev>/device symlink is broken (maybe some others will be too), but we can't pull all that required stuff into VE... The salt is in kernel/ve/vecall.c only, all the rest in this patch are hunks to make that all compile. Signed-off-by: Pavel Emelyanov <xemul@openvz.org>