diff options
| author | Stanislav Fomichev <sdf@fomichev.me> | 2025-04-01 09:34:45 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-03 15:32:08 -0700 |
| commit | b912d599d3d83ff9a2db58c17b5c76429a206db5 (patch) | |
| tree | a3aa84b68fca5807948c115a2a91595579032330 /net | |
| parent | net: use netif_disable_lro in ipv6_add_dev (diff) | |
| download | linux-b912d599d3d83ff9a2db58c17b5c76429a206db5.tar.gz linux-b912d599d3d83ff9a2db58c17b5c76429a206db5.zip | |
net: rename rtnl_net_debug to lock_debug
And make it selected by CONFIG_DEBUG_NET. Don't rename any of
the structs/functions. Next patch will use rtnl_net_debug_event in
netdevsim.
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20250401163452.622454-5-sdf@fomichev.me
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
| -rw-r--r-- | net/core/Makefile | 2 | ||||
| -rw-r--r-- | net/core/lock_debug.c (renamed from net/core/rtnl_net_debug.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/net/core/Makefile b/net/core/Makefile index a10c3bd96798..b2a76ce33932 100644 --- a/net/core/Makefile +++ b/net/core/Makefile @@ -45,5 +45,5 @@ obj-$(CONFIG_BPF_SYSCALL) += bpf_sk_storage.o obj-$(CONFIG_OF) += of_net.o obj-$(CONFIG_NET_TEST) += net_test.o obj-$(CONFIG_NET_DEVMEM) += devmem.o -obj-$(CONFIG_DEBUG_NET_SMALL_RTNL) += rtnl_net_debug.o +obj-$(CONFIG_DEBUG_NET) += lock_debug.o obj-$(CONFIG_FAIL_SKB_REALLOC) += skb_fault_injection.o diff --git a/net/core/rtnl_net_debug.c b/net/core/lock_debug.c index f3272b09c255..f3272b09c255 100644 --- a/net/core/rtnl_net_debug.c +++ b/net/core/lock_debug.c |
