]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita332bd5f7390d6569b8583feeaa7e47470ea46d8
treeff1699db9c0cc50f0c2709b74808bc8ef46168a1
parent09aac06bb1862b25e62bf7885cd349fec31e1bc1
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