Bug#594845: [PATCH] tun: Don't add sysfs attributes to devices without sysfs directories
From: Ben Hutchings <ben@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 <russell-debian@stuart.id.au>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> This applies to 2.6.32 *only*. It has not been applied upstream since
> the limitation no longer exists.
>
> Dave, please ack or nak this for stable.
Acked-by: David S. Miller <davem@davemloft.net>
Reply to: