• Eric Dumazet's avatar
    ipv6: mcast: RCU conversions · 96b52e61
    Eric Dumazet authored
    - 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: default avatarEric Dumazet <eric.dumazet@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    96b52e61
mcast.c 62.5 KB