[NETNS]: Tcp-v4 sockets per-net lookup.
authorPavel Emelyanov <xemul@openvz.org>
Thu, 31 Jan 2008 13:06:40 +0000 (05:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:19 +0000 (19:28 -0800)
commitc67499c0e772064b37ad75eb69b28fc218752636
tree7d2873308f16080c0c3801d6024881360dd8e196
parent941b1d22cc035ad58b3d9b44a1c74efac2d7e499
[NETNS]: Tcp-v4 sockets per-net lookup.

Add a net argument to inet_lookup and propagate it further
into lookup calls. Plus tune the __inet_check_established.

The dccp and inet_diag, which use that lookup functions
pass the init_net into them.

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