• Taehee Yoo's avatar
    mld: convert ip6_sf_list to RCU · 4b200e39
    Taehee Yoo authored
    The ip6_sf_list has been protected by mca_lock(spin_lock) so that the
    critical section is atomic context. In order to switch this context,
    changing locking is needed. The ip6_sf_list actually already protected
    by RTNL So if it's converted to use RCU, its control path context can
    be switched to sleepable.
    But It doesn't remove mca_lock yet because ifmcaddr6 isn't converted
    to RCU yet. So, It's not fully converted to the sleepable context.
    Suggested-by: default avatarCong Wang <xiyou.wangcong@gmail.com>
    Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4b200e39
if_inet6.h 5.97 KB