net: convert resend IGMP to notifier event
authorJiri Pirko <jiri@resnulli.us>
Sat, 20 Jul 2013 10:13:53 +0000 (12:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2013 23:52:47 +0000 (16:52 -0700)
commit4aa5dee4d9997879adff858514844efab5a15a01
treef3f3bf83f34dd832c8e163095c03e6aff29f20df
parentfc423ff00df3a19554414eed80aef9de9b50313e
net: convert resend IGMP to notifier event

Until now, bond_resend_igmp_join_requests() looks for vlans attached to
bonding device, bridge where bonding act as port manually. It does not
care of other scenarios, like stacked bonds or team device above. Make
this more generic and use netdev notifier to propagate the event to
upper devices and to actually call ip_mc_rejoin_groups().

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/team/team.c
include/linux/igmp.h
include/linux/netdevice.h
net/8021q/vlan.c
net/bridge/br_notify.c
net/ipv4/igmp.c