patch-2.4.23 linux-2.4.23/net/ipv6/mcast.c
Next file: linux-2.4.23/net/ipv6/ndisc.c
Previous file: linux-2.4.23/net/ipv6/ipv6_syms.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/net/ipv6/mcast.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/net/ipv6/mcast.c linux-2.4.23/net/ipv6/mcast.c
@@ -604,9 +604,9 @@
if (ipv6_addr_cmp(&psl->sl_addr[i], src_addr) == 0)
break;
}
- if (mc->sfmode == MCAST_INCLUDE && i >= psl->sl_count);
+ if (mc->sfmode == MCAST_INCLUDE && i >= psl->sl_count)
rv = 0;
- if (mc->sfmode == MCAST_EXCLUDE && i < psl->sl_count);
+ if (mc->sfmode == MCAST_EXCLUDE && i < psl->sl_count)
rv = 0;
}
read_unlock(&ipv6_sk_mc_lock);
@@ -2020,6 +2020,9 @@
struct ifmcaddr6 *i;
struct in6_addr maddr;
+ /* Deactivate timers */
+ ipv6_mc_down(idev);
+
/* Delete all-nodes address. */
ipv6_addr_all_nodes(&maddr);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)