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)
commit7f635ab71eef8da012320c0092b662d6af8c1e69
tree21e4af155dbbc1f059b8af0281fdfbc0fb207084
parent19c7578fb22b0aef103222cae9b522f03ae489d6
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