patch-2.4.27 linux-2.4.27/net/ipv6/mcast.c

Next file: linux-2.4.27/net/ipv6/netfilter/ip6_tables.c
Previous file: linux-2.4.27/net/ipv6/icmp.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/net/ipv6/mcast.c linux-2.4.27/net/ipv6/mcast.c
@@ -362,7 +362,7 @@
 	err = -EADDRNOTAVAIL;
 
 	for (pmc=inet6->ipv6_mc_list; pmc; pmc=pmc->next) {
-		if (pmc->ifindex != pgsr->gsr_interface)
+		if (pgsr->gsr_interface && pmc->ifindex != pgsr->gsr_interface)
 			continue;
 		if (ipv6_addr_cmp(&pmc->addr, group) == 0)
 			break;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)