]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7a48615159522a614d76f96518440ab34266410b
tree7d2873308f16080c0c3801d6024881360dd8e196
parent4fa9218a66ce2f325cf0ff1aa55f91f883c6aa67
[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