commit | 1d7138de878d1d4210727c1200193e69596f93b3 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Fri Nov 12 05:46:50 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 12 13:18:57 2010 -0800 |
tree | f7abb08bfdf35d1e876f93d24ce44072d2f6ed72 | |
parent | f5539b5bfa2e00f2a6fd35731db66142a2f327c0 [diff] |
igmp: RCU conversion of in_dev->mc_list in_dev->mc_list is protected by one rwlock (in_dev->mc_list_lock). This can easily be converted to a RCU protection. Writers hold RTNL, so mc_list_lock is removed, not replaced by a spinlock. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Cc: Cypher Wu <cypher.w@gmail.com> Cc: Américo Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>