[NET]: Rework dev_base via list_head (v3)
authorPavel Emelianov <xemul@openvz.org>
Thu, 3 May 2007 22:13:45 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2007 22:13:45 +0000 (15:13 -0700)
commit7562f876cd93800f2f8c89445f2a563590b24e09
tree78a34c011af275efa0d55ba59c3bd49b771dd533
parent03fba0479600114f32d29eee74ca3eaa364606bf
[NET]: Rework dev_base via list_head (v3)

Cleanup of dev_base list use, with the aim to simplify making device
list per-namespace. In almost every occasion, use of dev_base variable
and dev->next pointer could be easily replaced by for_each_netdev
loop. A few most complicated places were converted to using
first_netdev()/next_netdev().

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Acked-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
31 files changed:
arch/s390/appldata/appldata_net_sum.c
arch/sparc64/solaris/ioctl.c
drivers/block/aoe/aoecmd.c
drivers/net/wireless/strip.c
drivers/parisc/led.c
fs/afs/netdevices.c
include/linux/netdevice.h
net/8021q/vlan.c
net/8021q/vlanproc.c
net/bridge/br_if.c
net/bridge/br_ioctl.c
net/bridge/br_netlink.c
net/core/dev.c
net/core/dev_mcast.c
net/core/rtnetlink.c
net/decnet/af_decnet.c
net/decnet/dn_dev.c
net/decnet/dn_fib.c
net/decnet/dn_route.c
net/ipv4/devinet.c
net/ipv4/igmp.c
net/ipv4/ipconfig.c
net/ipv6/addrconf.c
net/ipv6/anycast.c
net/ipv6/mcast.c
net/llc/llc_core.c
net/netrom/nr_route.c
net/rose/rose_route.c
net/sched/sch_api.c
net/sctp/protocol.c
net/tipc/eth_media.c