bonding: IGMP handling cleanup
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 18 Nov 2010 17:33:19 +0000 (09:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Nov 2010 17:33:19 +0000 (09:33 -0800)
commit866f3b25a2eb60d7529c227a0ecd80c3aba443fd
treeb11b24cf158a232641548b6c652bf9e001ae1446
parentdda0b38692a7298f433b92b1329867b1ecabb4bb
bonding: IGMP handling cleanup

Instead of iterating in_dev->mc_list from bonding driver, its better
to call a helper function provided by igmp.c
Details of implementation (locking) are private to igmp code.

ip_mc_rejoin_group(struct ip_mc_list *im) becomes
ip_mc_rejoin_groups(struct in_device *in_dev);

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
include/linux/igmp.h
net/ipv4/igmp.c