Re: [PATCH 1/2] ipv6: Fix regression caused by efe4208 in udp_v6_mcast_next()
From: David Miller <davem@davemloft.net>
Date: 2014-05-30 22:18:42
From: David Miller <davem@davemloft.net>
Date: 2014-05-30 22:18:42
From: Eric Dumazet <redacted> Date: Thu, 29 May 2014 13:37:35 -0700
On Thu, 2014-05-29 at 20:27 +0000, Sven Wegener wrote:quoted
Commit efe4208 ("ipv6: make lookups simpler and faster") introduced a regression in udp_v6_mcast_next(), resulting in multicast packets not reaching the destination sockets under certain conditions. The packet's IPv6 addresses are wrongly compared to the IPv6 addresses from the function's socket argument, which indicates the starting point for looping, instead of the loop variable. If the addresses from the first socket do not match the packet's addresses, no socket in the list will match. Cc: Eric Dumazet <edumazet@google.com> Cc: stable@vger.kernel.org # 3.13+ Signed-off-by: Sven Wegener <redacted> --- net/ipv6/udp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Acked-by: Eric Dumazet <edumazet@google.com> I removed the CC stable@ , as you should not have use it.
I'll apply this to 'net' and queue it up for -stable, thanks. The next time I merge 'net' into 'net-next' I'll add the second patch there. Thanks again.