This option enables network namespace usage counter, forgotten long time ago.

Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
---
 init/Kconfig |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/init/Kconfig b/init/Kconfig
index 34002de..f8575d7 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1126,6 +1126,13 @@ config NET_NS
          Allow user space to create what appear to be multiple instances
          of the network stack.
 
+config NETNS_REFCNT_DEBUG
+       bool "Network namespace reference count debug"
+       depends on NET_NS
+       default n
+       help
+         Tracks network namespace usage and report objects leakage on 
destruction.
+
 endif # NAMESPACES
 
 config UIDGID_STRICT_TYPE_CHECKS

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to