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

2010-09-12 Thread David Miller
From: Ben Hutchings b...@decadent.org.uk 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

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 russell-deb...@stuart.id.au Signed-off-by: Ben Hutchings b...@decadent.org.uk --- This applies to

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 russell-deb...@stuart.id.au Signed-off-by: Ben Hutchings b...@decadent.org.uk --- This applies to