[NETNS]: Inet control socket should not hold a namespace.
authorDenis V. Lunev <den@openvz.org>
Thu, 3 Apr 2008 21:28:30 +0000 (14:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Apr 2008 21:28:30 +0000 (14:28 -0700)
commit5677242f432102dea9e6eceec1dc089e2f709ca4
tree73036437b91f2e8cd5427be48a588bff3af587eb
parenteee4fe4ded6e9c196168aee8f9787771f4df9c90
[NETNS]: Inet control socket should not hold a namespace.

This is a generic requirement, so make inet_ctl_sock_create namespace
aware and create a inet_ctl_sock_destroy wrapper around
sk_release_kernel.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_common.h
net/dccp/ipv4.c
net/dccp/ipv6.c
net/ipv4/af_inet.c
net/ipv4/tcp_ipv4.c
net/ipv6/tcp_ipv6.c
net/sctp/protocol.c