ipv6: use RCU to walk list of network devices
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 11 Nov 2009 17:34:30 +0000 (17:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:38:49 +0000 (20:38 -0800)
commitce81b76a39835a721cd168e0c0bcfe7132f1f66b
treeed725dd6163f328d4717fb3ed28c9e6c2691bc88
parentbee7ca9ec03a26676ea2b1c28dc4039348eff3e1
ipv6: use RCU to walk list of network devices

No longer need read_lock(&dev_base_lock), use RCU instead.
We also can avoid taking references on inet6_dev structs.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/ipv6/anycast.c
net/ipv6/mcast.c