diff options
-rw-r--r-- | net/ipv4/igmp.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index 2a4bb76f2132..25f339672b28 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -1269,14 +1269,14 @@ void ip_mc_rejoin_group(struct ip_mc_list *im) | |||
1269 | if (im->multiaddr == IGMP_ALL_HOSTS) | 1269 | if (im->multiaddr == IGMP_ALL_HOSTS) |
1270 | return; | 1270 | return; |
1271 | 1271 | ||
1272 | if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) { | 1272 | /* a failover is happening and switches |
1273 | igmp_mod_timer(im, IGMP_Initial_Report_Delay); | 1273 | * must be notified immediately */ |
1274 | return; | 1274 | if (IGMP_V1_SEEN(in_dev)) |
1275 | } | 1275 | igmp_send_report(in_dev, im, IGMP_HOST_MEMBERSHIP_REPORT); |
1276 | /* else, v3 */ | 1276 | else if (IGMP_V2_SEEN(in_dev)) |
1277 | im->crcount = in_dev->mr_qrv ? in_dev->mr_qrv : | 1277 | igmp_send_report(in_dev, im, IGMPV2_HOST_MEMBERSHIP_REPORT); |
1278 | IGMP_Unsolicited_Report_Count; | 1278 | else |
1279 | igmp_ifc_event(in_dev); | 1279 | igmp_send_report(in_dev, im, IGMPV3_HOST_MEMBERSHIP_REPORT); |
1280 | #endif | 1280 | #endif |
1281 | } | 1281 | } |
1282 | EXPORT_SYMBOL(ip_mc_rejoin_group); | 1282 | EXPORT_SYMBOL(ip_mc_rejoin_group); |