Home
last modified time | relevance | path

Searched hist:"5 ee759cda51b9b1c28994ea36e314427a58cb6d7" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/l2tp/
H A Dl2tp_ppp.cdiff 5ee759cda51b9b1c28994ea36e314427a58cb6d7 Sat Aug 22 09:59:03 CDT 2020 Tom Parkin <tparkin@katalix.com> 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>
H A Dl2tp_core.cdiff 5ee759cda51b9b1c28994ea36e314427a58cb6d7 Sat Aug 22 09:59:03 CDT 2020 Tom Parkin <tparkin@katalix.com> 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>