linux_dsm_epyc7002/net/l2tp
Tom Parkin 5ee759cda5 l2tp: use standard API for warning log messages
The l2tp_* log wrappers only emit messages of a given category if the
tunnel or session structure has the appropriate flag set in its debug
field.  Flags default to being unset.

For warning messages, this doesn't make a lot of sense since an
administrator is likely to want to know about datapath warnings without
needing to tweak the debug flags setting for a given tunnel or session
instance.

Modify l2tp_warn callsites to use pr_warn_ratelimited instead for
unconditional output of warning messages.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-22 12:44:37 -07:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
l2tp_core.c l2tp: use standard API for warning log messages 2020-08-22 12:44:37 -07:00
l2tp_core.h l2tp: improve API documentation in l2tp_core.h 2020-07-30 16:45:31 -07:00
l2tp_debugfs.c l2tp: WARN_ON rather than BUG_ON in l2tp_dfs_seq_start 2020-07-24 17:19:14 -07:00
l2tp_eth.c l2tp: don't log data frames 2020-08-22 12:44:37 -07:00
l2tp_ip6.c l2tp: don't log data frames 2020-08-22 12:44:37 -07:00
l2tp_ip.c l2tp: don't log data frames 2020-08-22 12:44:37 -07:00
l2tp_netlink.c l2tp: return void from l2tp_session_delete 2020-07-30 16:45:31 -07:00
l2tp_ppp.c l2tp: use standard API for warning log messages 2020-08-22 12:44:37 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00