]> git.hungrycats.org Git - linux/commit
[NET]: net-sysfs - use attribute group instead of kobject for statistics.
authorStephen Hemminger <shemminger@osdl.org>
Sat, 16 Aug 2003 00:59:33 +0000 (17:59 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Sat, 16 Aug 2003 00:59:33 +0000 (17:59 -0700)
commit93bd2085f53052ec3234d0889275b1dc0405e334
treea9c65d3793e03fe429b7dd439cbd23ac804ccc80
parent348f2c46bccefb9347268e0d07e6e5511a78a34b
[NET]: net-sysfs - use attribute group instead of kobject for statistics.

Net statistics were in a kobject only because there was no better way
to create a directory.  Latest 2.6.0-test3 bk tree, has merged in
Pat's change to provide 'attribute groups'.

This patch converts netdevice's from a statistic's kobject to attribute
group.  This is cleaner and fixes some shutdown unload issues as well.

Ps. it gets rid of of the object
include/linux/netdevice.h
net/core/net-sysfs.c