From: Kay Sievers Date: Mon, 19 Dec 2005 00:42:56 +0000 (+0100) Subject: [PATCH] net: swich device attribute creation to default attrs X-Git-Tag: v2.6.16-rc1~474^2~22^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd586bacf439f36dea9b9bf6e6133ac87df2730c;p=pandora-kernel.git [PATCH] net: swich device attribute creation to default attrs Recent udev versions don't longer cover bad sysfs timing with built-in logic. Explicit rules are required to do that. For net devices, the following is needed: ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address" to handle access to net device properties from an event handler without races. This patch changes the main net attributes to be created by the driver core, which is done _before_ the event is sent out and will not require the stat() loop of the WAIT_FOR_SYSFS key. Signed-off-by: Kay Sievers Acked-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed