162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci 362306a36Sopenharmony_ciconfig NET_DEV_REFCNT_TRACKER 462306a36Sopenharmony_ci bool "Enable net device refcount tracking" 562306a36Sopenharmony_ci depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET 662306a36Sopenharmony_ci select REF_TRACKER 762306a36Sopenharmony_ci default n 862306a36Sopenharmony_ci help 962306a36Sopenharmony_ci Enable debugging feature to track device references. 1062306a36Sopenharmony_ci This adds memory and cpu costs. 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciconfig NET_NS_REFCNT_TRACKER 1362306a36Sopenharmony_ci bool "Enable networking namespace refcount tracking" 1462306a36Sopenharmony_ci depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET 1562306a36Sopenharmony_ci select REF_TRACKER 1662306a36Sopenharmony_ci default n 1762306a36Sopenharmony_ci help 1862306a36Sopenharmony_ci Enable debugging feature to track netns references. 1962306a36Sopenharmony_ci This adds memory and cpu costs. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciconfig DEBUG_NET 2262306a36Sopenharmony_ci bool "Add generic networking debug" 2362306a36Sopenharmony_ci depends on DEBUG_KERNEL && NET 2462306a36Sopenharmony_ci help 2562306a36Sopenharmony_ci Enable extra sanity checks in networking. 2662306a36Sopenharmony_ci This is mostly used by fuzzers, but is safe to select. 27