]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Fix sock identity checking bug in tcp_ipv6_check_established.
authorMark Huth <mhuth@mvista.com>
Wed, 19 May 2004 16:28:11 +0000 (09:28 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Wed, 19 May 2004 16:28:11 +0000 (09:28 -0700)
net/ipv6/tcp_ipv6.c

index 368d757a5d617d10de6ee28927d0729814905392..332c8971c6417d3eabb9864b728583cffce4a34d 100644 (file)
@@ -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;
        }