]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf24598160ac3acb2cdb179f93626b2f849c183ec
treeaa0033607405521e079345d1c3f7471a67bd79ba
parent0b8462ba95e0fafe232a8c651d107deec1e07a95
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