lkml.org 
[lkml]   [2005]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: net: swich device attribute creation to default attrs
From
From: Kay Sievers <kay.sievers@vrfy.org>
Date: Mon, 19 Dec 2005 01:42:56 +0100

> 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.

Kay/Greg, this looks fine, feel free to merge it in.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-12-19 03:02    [W:0.031 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site