summaryrefslogtreecommitdiffstats
path: root/include/net/net_debug.h
Commit message (Collapse)AuthorAgeFilesLines
* net: add CONFIG_DEBUG_NETEric Dumazet2022-05-111-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.hEric Dumazet2022-05-111-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>