diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2022-09-15 15:42:56 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-21 00:23:56 +0300 |
commit | caddb4e0d63980315772e3c6f4e92624d0dd193f (patch) | |
tree | 8f98f0fe4cd15655bcdbadbbf1d20a7384122cee /net | |
parent | c3194a67149f491aadc6cf9da509ff64227bfbe8 (diff) | |
download | linux-caddb4e0d63980315772e3c6f4e92624d0dd193f.tar.xz |
net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET
It makes little sense to ask if networking namespace or net device refcount
tracking shall be enabled for debug kernel builds without network support.
This is similar to the commit eb0b39efb7d9 ("net: CONFIG_DEBUG_NET depends
on CONFIG_NET").
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Link: https://lore.kernel.org/r/20220915124256.32512-1-lukas.bulwahn@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/Kconfig.debug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/Kconfig.debug b/net/Kconfig.debug index e6ae11cc2fb7..5e3fffe707dd 100644 --- a/net/Kconfig.debug +++ b/net/Kconfig.debug @@ -2,7 +2,7 @@ config NET_DEV_REFCNT_TRACKER bool "Enable net device refcount tracking" - depends on DEBUG_KERNEL && STACKTRACE_SUPPORT + depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET select REF_TRACKER default n help @@ -11,7 +11,7 @@ config NET_DEV_REFCNT_TRACKER config NET_NS_REFCNT_TRACKER bool "Enable networking namespace refcount tracking" - depends on DEBUG_KERNEL && STACKTRACE_SUPPORT + depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET select REF_TRACKER default n help |