]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefb26212a401b058d76ce7aa9be329cd3c6643e2
treeed725dd6163f328d4717fb3ed28c9e6c2691bc88
parentb3141503467534b25f0690d5d17900861411d47a
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