inet: add struct net argument to inet_lhashfn
authorPavel Emelyanov <xemul@openvz.org>
Tue, 17 Jun 2008 00:13:08 +0000 (17:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:13:08 +0000 (17:13 -0700)
commit2086a65078bd24682bdcf413d9c91d81988b8359
treeff1699db9c0cc50f0c2709b74808bc8ef46168a1
parent7f635ab71eef8da012320c0092b662d6af8c1e69
inet: add struct net argument to inet_lhashfn

Listening-on-one-port sockets in many namespaces produce long
chains in the listening_hash-es, so prepare the inet_lhashfn to
take struct net into account.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c
net/ipv6/inet6_hashtables.c