ipv6: mcast: RCU conversions
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 7 Jun 2010 21:05:02 +0000 (21:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Jun 2010 01:06:14 +0000 (18:06 -0700)
commit96b52e61be1ad4d4f8de39b9deaf253da804ea3b
tree7751b360813e7c821b3eb3439651edcbc77f5eae
parent97859160c5158a97a4b976a2d7bc74cf2223afe0
ipv6: mcast: RCU conversions

- ipv6_sock_mc_join() : doesnt touch dev refcount

- ipv6_sock_mc_drop() : doesnt touch dev/idev refcounts

- ip6_mc_find_dev() becomes ip6_mc_find_dev_rcu() (called from rcu),
                    and doesnt touch dev/idev refcounts

- ipv6_sock_mc_close() : doesnt touch dev/idev refcounts

- ip6_mc_source() uses ip6_mc_find_dev_rcu()

- ip6_mc_msfilter() uses ip6_mc_find_dev_rcu()

- ip6_mc_msfget() uses ip6_mc_find_dev_rcu()

- ipv6_dev_mc_dec(), ipv6_chk_mcast_addr(),
  igmp6_event_query(), igmp6_event_report(),
  mld_sendpack(), igmp6_send() dont touch idev refcount

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