]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd19dd9c6412efd15e6ff33ae160a7515f11fb05f
treef3f3bf83f34dd832c8e163095c03e6aff29f20df
parentd1582602c9768d43fdaa03700003ea96efc93420
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