diff options
author | Breno Leitao <leitao@debian.org> | 2025-01-08 03:50:25 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-09 18:06:36 -0800 |
commit | e51c7478d23bb484d414fc036cd1ff57afe31b67 (patch) | |
tree | 7901857bae1cf8c24e83ea9bcf06c001eca8d35b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 14ea4cd1b19162888f629c4ce1ba268c683b0f12 (diff) |
netconsole: Warn if MAX_USERDATA_ITEMS limit is exceeded
netconsole configfs helpers doesn't allow the creation of more than
MAX_USERDATA_ITEMS items.
Add a warning when netconsole userdata update function attempts sees
more than MAX_USERDATA_ITEMS entries.
Replace silent ignore mechanism with WARN_ON_ONCE() to highlight
potential misuse during development and debugging.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250108-netcons_overflow_test-v3-1-3d85eb091bec@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions