[NET]: Create netdev attribute_groups with class_device_add
authorStephen Hemminger <shemminger@osdl.org>
Sun, 7 May 2006 00:56:03 +0000 (17:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 May 2006 00:56:03 +0000 (17:56 -0700)
Atomically create attributes when class device is added. This avoids
the race between registering class_device (which generates hotplug
event), and the creation of attribute groups.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found