[NETNS]: Add netns refcnt debug for kernel sockets.
authorDenis V. Lunev <den@openvz.org>
Wed, 16 Apr 2008 08:59:46 +0000 (01:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2008 08:59:46 +0000 (01:59 -0700)
commit65a18ec58e5e6186103f62f720acea94dfb26f4e
treeaa0e58979c343d4519ba9dfa3a1e6a416e98e16b
parent5d1e4468a7705db7c1415a65fd16f07113afc1b2
[NETNS]: Add netns refcnt debug for kernel sockets.

Protocol control sockets and netlink kernel sockets should not prevent the
namespace stop request. They are initialized and disposed in a special way by
sk_change_net/sk_release_kernel.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/sock.c