bonding: fix to rejoin multicast groups immediately
authorFlavio Leitner <fleitner@redhat.com>
Tue, 5 Oct 2010 14:23:58 +0000 (14:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2010 03:26:57 +0000 (20:26 -0700)
commite12b453904c54bbdc515778ff664d87a7f9473af
treeaa0033607405521e079345d1c3f7471a67bd79ba
parent5a37e8ca8536c47871d46c82211f399adf06fd44
bonding: fix to rejoin multicast groups immediately

The IGMP specs states that if the system receives a
membership report, it shouldn't send another for the
next minute. However, if a link failure happens right
after that, the backup slave and the switch connected
to this slave will not know about the multicast and
the traffic will hang for about a minute.

This patch fixes it to rejoin multicast groups immediately
after a failover restoring the multicast traffic.

Signed-off-by: Flavio Leitner <fleitner@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c