linux/net/core
Eric W. Biederman 8b41d1887d [NET]: Fix running without sysfs
When sysfs support is compiled out the kernel still keeps and maintains
the kobject tree.  So it is not safe to skip our kobject reference counting or
to avoid becoming members of the kobject tree.  It is safe to not add
the networking specific sysfs attributes.

This patch removes the sysfs special cases from net/core/dev.c
renames functions from netdev_sysfs_xxxx to netdev_kobject_xxxx
and always compiles in net-sysfs.c

net-sysfs.c is modified with a CONFIG_SYSFS guard around the parts
that are actually sysfs specific.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:52:46 -07:00
..
datagram.c
dev_mcast.c [NET]: Fix race when opening a proc file while a network namespace is exiting. 2007-10-10 16:49:22 -07:00
dev.c [NET]: Fix running without sysfs 2007-10-10 16:52:46 -07:00
dst.c [NET]: Dynamically allocate the loopback device, part 1. 2007-10-10 16:52:14 -07:00
ethtool.c [ETHTOOL] Provide default behaviors for a few ethtool sub-ioctls 2007-10-10 16:51:17 -07:00
fib_rules.c [IPV4/IPV6/DECNET]: Small cleanup for fib rules. 2007-10-10 16:51:22 -07:00
filter.c
flow.c
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile [NET]: Fix running without sysfs 2007-10-10 16:52:46 -07:00
neighbour.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
net_namespace.c [NETNS]: Cleanup list walking in setup_net and cleanup_net 2007-10-10 16:51:35 -07:00
net-sysfs.c [NET]: Fix running without sysfs 2007-10-10 16:52:46 -07:00
netevent.c
netpoll.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
pktgen.c [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
request_sock.c
rtnetlink.c [NETLINK]: Avoid pointer in netlink_run_queue 2007-10-10 16:51:24 -07:00
scm.c
skbuff.c [SKBUFF]: Fix up csum_start when head room changes 2007-10-10 16:51:24 -07:00
sock.c [NET]: Make the device list and device lookups per namespace. 2007-10-10 16:49:10 -07:00
stream.c
sysctl_net_core.c
user_dma.c
utils.c