commit | 3006bc38895895f1a0352c2e17e1a503f35f7e2f | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Thu Nov 18 09:30:42 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 18 09:30:42 2010 -0800 |
tree | 24a3a9ecbee9215898b4c6b30357740eeeb632bb | |
parent | 28cb6ccd2c7e86b3a4db94c7062cd27937bed424 [diff] |
bonding: fix a race in IGMP handling RCU conversion in IGMP code done in net-next-2.6 raised a race in __bond_resend_igmp_join_requests(). It iterates in_dev->mc_list without appropriate protection (RTNL, or read_lock on in_dev->mc_list_lock). Another cpu might delete an entry while we use it and trigger a fault. Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>