From 42c072d5374659e78abcc4e05ec99c471550268d Mon Sep 17 00:00:00 2001 From: David Stevens Date: Mon, 17 Nov 2003 02:44:09 -0800 Subject: [PATCH] [IPV6]: Fix UDP socket selection for multicast. When binding to two different multicast addresses on the same UDP port, a copy sent to either multicast address is delivered to both. --- net/ipv6/udp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 814dfb06be3b7..5b2f64efc8d14 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c @@ -551,6 +551,7 @@ static struct sock *udp_v6_mcast_next(struct sock *sk, if (!ipv6_addr_any(&np->rcv_saddr)) { if (!ipv6_addr_cmp(&np->rcv_saddr, loc_addr)) return s; + continue; } if(!inet6_mc_check(s, loc_addr, rmt_addr)) continue; -- 2.53.0