net: CONFIG_DEBUG_NET depends on CONFIG_NET
[linux-2.6-microblaze.git] / net / Kconfig.debug
index a5781cf..e6ae11c 100644 (file)
@@ -20,7 +20,7 @@ config NET_NS_REFCNT_TRACKER
 
 config DEBUG_NET
        bool "Add generic networking debug"
-       depends on DEBUG_KERNEL
+       depends on DEBUG_KERNEL && NET
        help
          Enable extra sanity checks in networking.
          This is mostly used by fuzzers, but is safe to select.