summaryrefslogtreecommitdiff
path: root/net/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'net/Kconfig.debug')
-rw-r--r--net/Kconfig.debug7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/Kconfig.debug b/net/Kconfig.debug
index 2f50611df858..a5781cf63b16 100644
--- a/net/Kconfig.debug
+++ b/net/Kconfig.debug
@@ -17,3 +17,10 @@ config NET_NS_REFCNT_TRACKER
help
Enable debugging feature to track netns references.
This adds memory and cpu costs.
+
+config DEBUG_NET
+ bool "Add generic networking debug"
+ depends on DEBUG_KERNEL
+ help
+ Enable extra sanity checks in networking.
+ This is mostly used by fuzzers, but is safe to select.