]> 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)
commit13e556e4bbe69f6bfceaba21cfae8f56d40cf4da
treef3f3bf83f34dd832c8e163095c03e6aff29f20df
parent05d961a5cebed21b5cad111b1c1987762c2eb79a
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