linux-stable-rt/net
Eric Dumazet c6d14c8456 net: Introduce for_each_netdev_rcu() iterator
Adds RCU management to the list of netdevices.

Convert some for_each_netdev() users to RCU version, if
it can avoid read_lock-ing dev_base_lock

Ie:
	read_lock(&dev_base_loack);
	for_each_netdev(net, dev)
		some_action();
	read_unlock(&dev_base_lock);

becomes :

	rcu_read_lock();
	for_each_netdev_rcu(net, dev)
		some_action();
	rcu_read_unlock();


Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-04 05:43:23 -08:00
..
9p
802
8021q vlan: cleanup multiple unregistrations 2009-10-29 23:43:00 -07:00
appletalk
atm
ax25 ax25: unsigned cannot be less than 0 in ax25_ctl_ioctl() 2009-10-29 23:06:39 -07:00
bluetooth
bridge bridge: Optimize multiple unregistration 2009-10-29 01:13:48 -07:00
can net: Cleanup redundant tests on unsigned 2009-10-29 01:39:54 -07:00
core net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
dcb
dccp
decnet net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
dsa
econet
ethernet
ieee802154
ipv4 net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
ipv6 net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
ipx
irda
iucv
key
lapb
llc
mac80211 Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-29 21:28:59 -07:00
netfilter
netlabel
netlink
netrom net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
packet packet: less dev_put() calls 2009-11-02 03:41:29 -08:00
phonet Phonet: remove tautologies 2009-11-04 05:06:24 -08:00
rds RDS/IB+IW: Move recv processing to a tasklet 2009-10-30 15:06:39 -07:00
rfkill
rose net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
rxrpc
sched em_meta: avoid one dev_put() 2009-11-04 05:23:31 -08:00
sctp net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
sunrpc
tipc
unix
wanrouter
wimax
wireless Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-10-29 21:28:59 -07:00
x25 net: Cleanup redundant tests on unsigned 2009-10-29 01:39:53 -07:00
xfrm
Kconfig
Makefile
TUNABLE
compat.c net: Cleanup redundant tests on unsigned 2009-10-29 01:39:54 -07:00
nonet.c
socket.c
sysctl_net.c