From 775407eb73b44cb8f13ec6b1b032ce845d7d6660 Mon Sep 17 00:00:00 2001 From: Mark Huth Date: Wed, 19 May 2004 09:28:11 -0700 Subject: [PATCH] [IPV6]: Fix sock identity checking bug in tcp_ipv6_check_established. --- net/ipv6/tcp_ipv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 368d757a5d617..332c8971c6417 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -479,7 +479,7 @@ static int tcp_v6_check_established(struct sock *sk) /* And established part... */ sk_for_each(sk2, node, &head->chain) { - if(TCP_IPV6_MATCH(sk, saddr, daddr, ports, dif)) + if(TCP_IPV6_MATCH(sk2, saddr, daddr, ports, dif)) goto not_unique; } -- 2.53.0