diff options
author | Dmitry Safonov <[email protected]> | 2021-03-30 00:25:06 +0100 |
---|---|---|
committer | Steffen Klassert <[email protected]> | 2021-03-30 07:29:09 +0200 |
commit | ef19e111337f6c3dca7019a8bad5fbc6fb18d635 (patch) | |
tree | ed66acf6cb063355d48ae1b6203d6ce569c2a7d9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c7dbf4c08868d9db89b8bfe8f8245ca61b01ed2f (diff) |
xfrm/compat: Cleanup WARN()s that can be user-triggered
Replace WARN_ONCE() that can be triggered from userspace with
pr_warn_once(). Those still give user a hint what's the issue.
I've left WARN()s that are not possible to trigger with current
code-base and that would mean that the code has issues:
- relying on current compat_msg_min[type] <= xfrm_msg_min[type]
- expected 4-byte padding size difference between
compat_msg_min[type] and xfrm_msg_min[type]
- compat_policy[type].len <= xfrma_policy[type].len
(for every type)
Reported-by: [email protected]
Fixes: 5f3eea6b7e8f ("xfrm/compat: Attach xfrm dumps to 64=>32 bit translator")
Cc: "David S. Miller" <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Herbert Xu <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: Steffen Klassert <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Dmitry Safonov <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions