Commit 775407eb authored by Mark Huth's avatar Mark Huth Committed by David S. Miller

[IPV6]: Fix sock identity checking bug in tcp_ipv6_check_established.

parent 556769bc
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment