bonding: rejoin multicast groups on VLANs
authorFlavio Leitner <fleitner@redhat.com>
Tue, 5 Oct 2010 14:23:57 +0000 (14:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 03:26:56 +0000 (20:26 -0700)
commit5a37e8ca8536c47871d46c82211f399adf06fd44
treea691902b909171122ebaa51412165051c54a2a85
parenta8bb69f78194dc483f6c4a4bf8860c1ede35fa25
bonding: rejoin multicast groups on VLANs

During a failover, the IGMP membership is sent to update
the switch restoring the traffic, but it misses groups added
to VLAN devices running on top of bonding devices.

This patch changes it to iterate over all VLAN devices
on top of it sending IGMP memberships too.

Signed-off-by: Flavio Leitner <fleitner@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h