[Devel] [PATCH rh7 2/4] net_namespace.h: set NETNS_REFCNT_DEBUG if CONFIG_NETNS_REFCNT_DEBUG
Stanislav Kinsburskiy
skinsbursky at virtuozzo.com
Tue Nov 24 03:07:59 PST 2015
Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
---
include/net/net_namespace.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 6559905..02c7663 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -36,6 +36,9 @@ struct net_generic;
struct sock;
struct netns_ipvs;
+#ifdef CONFIG_NETNS_REFCNT_DEBUG
+#define NETNS_REFCNT_DEBUG
+#endif
#define NETDEV_HASHBITS 8
#define NETDEV_HASHENTRIES (1 << NETDEV_HASHBITS)
More information about the Devel
mailing list