* [PATCH] net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET
@ 2022-09-15 12:42 Lukas Bulwahn
2022-09-20 21:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Lukas Bulwahn @ 2022-09-15 12:42 UTC (permalink / raw)
To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, netdev
Cc: kernel-janitors, linux-kernel, Lukas Bulwahn
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>
---
net/Kconfig.debug | 4 ++--
1 file 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
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET
2022-09-15 12:42 [PATCH] net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET Lukas Bulwahn
@ 2022-09-20 21:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-20 21:40 UTC (permalink / raw)
To: Lukas Bulwahn
Cc: davem, edumazet, kuba, pabeni, netdev, kernel-janitors, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 15 Sep 2022 14:42:56 +0200 you wrote:
> 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>
>
> [...]
Here is the summary with links:
- net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET
https://git.kernel.org/netdev/net-next/c/caddb4e0d639
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-20 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 12:42 [PATCH] net: make NET_(DEV|NS)_REFCNT_TRACKER depend on NET Lukas Bulwahn
2022-09-20 21:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).