Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | net: add CONFIG_DEBUG_NET | Eric Dumazet | 2022-05-11 | 1 | -0/+6 |
| | | | | | | | | | | | This config option enables network debugging checks. This patch adds DEBUG_NET_WARN_ON_ONCE(cond) Note that this is not a replacement for WARN_ON_ONCE(cond) as (cond) is not evaluated if CONFIG_DEBUG_NET is not set. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> | ||||
* | net: add include/net/net_debug.h | Eric Dumazet | 2022-05-11 | 1 | -0/+151 |
Remove from include/linux/netdevice.h helpers that send debug/info/warnings to syslog. We plan adding more helpers in following patches. v2: added two includes, and 'struct net_device' forward declaration to avoid compile errors (kernel bots) Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> |