netns xfrm: lookup in netns
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 26 Nov 2008 01:35:18 +0000 (17:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 01:35:18 +0000 (17:35 -0800)
commit52479b623d3d41df84c499325b6a8c7915413032
tree196f303f296b53dc89a05954d9c03226a9b4158b
parentcdcbca7c1f1946758cfacb69bc1c7eeaccb11e2d
netns xfrm: lookup in netns

Pass netns to xfrm_lookup()/__xfrm_lookup(). For that pass netns
to flow_cache_lookup() and resolver callback.

Take it from socket or netdevice. Stub DECnet to init_net.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
22 files changed:
include/net/dst.h
include/net/flow.h
net/core/flow.c
net/dccp/ipv6.c
net/decnet/dn_route.c
net/ipv4/icmp.c
net/ipv4/netfilter.c
net/ipv4/route.c
net/ipv6/af_inet6.c
net/ipv6/datagram.c
net/ipv6/icmp.c
net/ipv6/inet6_connection_sock.c
net/ipv6/ip6_tunnel.c
net/ipv6/mcast.c
net/ipv6/ndisc.c
net/ipv6/netfilter.c
net/ipv6/netfilter/ip6t_REJECT.c
net/ipv6/raw.c
net/ipv6/syncookies.c
net/ipv6/tcp_ipv6.c
net/ipv6/udp.c
net/xfrm/xfrm_policy.c