Bug#594845: [PATCH] tun: Don't add sysfs attributes to devices without sysfs directories

2010-09-12 Thread David Miller
From: Ben Hutchings Date: Fri, 10 Sep 2010 17:46:30 +0100 > Prior to Linux 2.6.35, net devices outside the initial net namespace > did not have sysfs directories. Attempting to add attributes to > them will trigger a BUG(). > > Reported-and-tested-by: Russell Stuart > Signed-off-by: Ben Hutchi

Bug#594845: [PATCH] tun: Don't add sysfs attributes to devices without sysfs directories

2010-09-10 Thread Ben Hutchings
Prior to Linux 2.6.35, net devices outside the initial net namespace did not have sysfs directories. Attempting to add attributes to them will trigger a BUG(). Reported-and-tested-by: Russell Stuart Signed-off-by: Ben Hutchings --- This applies to 2.6.32 *only*. It has not been applied upstrea

Bug#594845: [PATCH] tun: Don't add sysfs attributes to devices without sysfs directories

2010-09-08 Thread Ben Hutchings
Prior to Linux 2.6.35, net devices outside the initial net namespace did not have sysfs directories. Attempting to add attributes to them will trigger a BUG(). Reported-and-tested-by: Russell Stuart Signed-off-by: Ben Hutchings --- This applies to 2.6.32 *only*. It has not been applied upstrea