diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2005-12-19 01:42:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 16:18:10 -0800 |
commit | fd586bacf439f36dea9b9bf6e6133ac87df2730c (patch) | |
tree | 2d0ea08194e086851b4a35d1003aa8be376ab683 /drivers/infiniband | |
parent | 1f1bf132d81ed723bc5fefbcec7d0779ce683a4f (diff) | |
download | op-kernel-dev-fd586bacf439f36dea9b9bf6e6133ac87df2730c.zip op-kernel-dev-fd586bacf439f36dea9b9bf6e6133ac87df2730c.tar.gz |
[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 <kay.sievers@suse.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions