Eric Dumazet | 4d92b95 | 2021-12-04 20:21:57 -0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | config NET_DEV_REFCNT_TRACKER |
| 4 | bool "Enable net device refcount tracking" |
Lukas Bulwahn | caddb4e | 2022-09-15 14:42:56 +0200 | [diff] [blame] | 5 | depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET |
Eric Dumazet | 4d92b95 | 2021-12-04 20:21:57 -0800 | [diff] [blame] | 6 | select REF_TRACKER |
| 7 | default n |
| 8 | help |
| 9 | Enable debugging feature to track device references. |
| 10 | This adds memory and cpu costs. |
Eric Dumazet | 9ba74e6 | 2021-12-09 23:44:21 -0800 | [diff] [blame] | 11 | |
| 12 | config NET_NS_REFCNT_TRACKER |
| 13 | bool "Enable networking namespace refcount tracking" |
Lukas Bulwahn | caddb4e | 2022-09-15 14:42:56 +0200 | [diff] [blame] | 14 | depends on DEBUG_KERNEL && STACKTRACE_SUPPORT && NET |
Eric Dumazet | 9ba74e6 | 2021-12-09 23:44:21 -0800 | [diff] [blame] | 15 | select REF_TRACKER |
| 16 | default n |
| 17 | help |
| 18 | Enable debugging feature to track netns references. |
| 19 | This adds memory and cpu costs. |
Eric Dumazet | d268c1f | 2022-05-09 20:57:38 -0700 | [diff] [blame] | 20 | |
| 21 | config DEBUG_NET |
| 22 | bool "Add generic networking debug" |
Eric Dumazet | eb0b39e | 2022-06-02 09:18:57 -0700 | [diff] [blame] | 23 | depends on DEBUG_KERNEL && NET |
Eric Dumazet | d268c1f | 2022-05-09 20:57:38 -0700 | [diff] [blame] | 24 | help |
| 25 | Enable extra sanity checks in networking. |
| 26 | This is mostly used by fuzzers, but is safe to select. |