[Devel] [PATCH rh7 1/4] init/Kconfig: NETNS_REFCNT_DEBUG option added
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Tue Nov 24 03:07:54 PST 2015
This option enables network namespace usage counter, forgotten long time ago.
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at 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
More information about the Devel
mailing list