[IPV6] HASHTABLES: Use appropriate seed for caluculating ehash index.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Tue, 13 Feb 2007 04:26:39 +0000 (20:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2007 04:26:39 +0000 (20:26 -0800)
commit6e1d9d04c4004361fb327abcbde74a20e8dca2ff
tree02347118359e8feb7c573fdb913b0e7b89098bb6
parentec2f9d1331f658433411c58077871e1eef4ee1b4
[IPV6] HASHTABLES: Use appropriate seed for caluculating ehash index.

Tetsuo Handa <handat@pm.nttdata.co.jp> told me that connect(2) with TCPv6
socket almost always took a few minutes to return when we did not have any
ports available in the range of net.ipv4.ip_local_port_range.

The reason was that we used incorrect seed for calculating index of
hash when we check established sockets in __inet6_check_established().

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/inet6_hashtables.c