aha/net/netrom
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
..
af_netrom.c net: mark net_proto_ops as const 2009-10-07 01:10:46 -07:00
Makefile
nr_dev.c convert hamradio drivers to netdev_txreturnt_t 2009-09-01 01:13:12 -07:00
nr_in.c
nr_loopback.c
nr_out.c
nr_route.c net: Introduce for_each_netdev_rcu() iterator 2009-11-04 05:43:23 -08:00
nr_subr.c
nr_timer.c
sysctl_net_netrom.c