summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-06-02 09:18:57 -0700
committerJakub Kicinski <kuba@kernel.org>2022-06-02 10:15:05 -0700
commiteb0b39efb7d908e3950f6f76ee6e3cecb86ec489 (patch)
treee06dc04cb4ad7cb7c4d993ad348f13fbcdaa850c /net
parent83450bbafebdaf90818e77ee368202f03d056cd7 (diff)
downloadlinux-stable-eb0b39efb7d908e3950f6f76ee6e3cecb86ec489.tar.gz
linux-stable-eb0b39efb7d908e3950f6f76ee6e3cecb86ec489.tar.bz2
linux-stable-eb0b39efb7d908e3950f6f76ee6e3cecb86ec489.zip
net: CONFIG_DEBUG_NET depends on CONFIG_NET
It makes little sense to debug networking stacks if networking is not compiled in. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r--net/Kconfig.debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Kconfig.debug b/net/Kconfig.debug
index a5781cf63b16..e6ae11cc2fb7 100644
--- a/net/Kconfig.debug
+++ b/net/Kconfig.debug
@@ -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.