0001 # SPDX-License-Identifier: GPL-2.0-only
0002
0003 config NET_DEV_REFCNT_TRACKER
0004 bool "Enable net device refcount tracking"
0005 depends on DEBUG_KERNEL && STACKTRACE_SUPPORT
0006 select REF_TRACKER
0007 default n
0008 help
0009 Enable debugging feature to track device references.
0010 This adds memory and cpu costs.
0011
0012 config NET_NS_REFCNT_TRACKER
0013 bool "Enable networking namespace refcount tracking"
0014 depends on DEBUG_KERNEL && STACKTRACE_SUPPORT
0015 select REF_TRACKER
0016 default n
0017 help
0018 Enable debugging feature to track netns references.
0019 This adds memory and cpu costs.
0020
0021 config DEBUG_NET
0022 bool "Add generic networking debug"
0023 depends on DEBUG_KERNEL && NET
0024 help
0025 Enable extra sanity checks in networking.
0026 This is mostly used by fuzzers, but is safe to select.