|
@@ -172,7 +172,7 @@ static int __inet6_check_established(struct inet_timewait_death_row *death_row,
|
|
|
const struct in6_addr *saddr = &np->daddr;
|
|
|
const int dif = sk->sk_bound_dev_if;
|
|
|
const __portpair ports = INET_COMBINED_PORTS(inet->dport, lport);
|
|
|
- const unsigned int hash = inet6_ehashfn(daddr, inet->num, saddr,
|
|
|
+ const unsigned int hash = inet6_ehashfn(daddr, lport, saddr,
|
|
|
inet->dport);
|
|
|
struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash);
|
|
|
struct sock *sk2;
|