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
-  Lines: 9
-  Date:
2004-08-07 16:26:07.031444449 -0700
-  Orig file: 
linux-2.4.26/net/ipv6/mcast.c
-  Orig date: 
2004-04-14 06:05:41.000000000 -0700
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)