]> git.baikalelectronics.ru Git - kernel.git/commit
inet: add struct net argument to inet_bhashfn
authorPavel Emelyanov <xemul@openvz.org>
Tue, 17 Jun 2008 00:12:49 +0000 (17:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2008 00:12:49 +0000 (17:12 -0700)
commit09aac06bb1862b25e62bf7885cd349fec31e1bc1
tree21e4af155dbbc1f059b8af0281fdfbc0fb207084
parent8e1c68899951cc20e3b663d59c7fd2754d173ae9
inet: add struct net argument to inet_bhashfn

Binding to some port in many namespaces may create too long
chains in bhash-es, so prepare the hashfn 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_connection_sock.c
net/ipv4/inet_hashtables.c
net/ipv4/inet_timewait_sock.c