diff options
| author | Jiri Pirko <[email protected]> | 2023-07-20 13:13:54 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-07-21 18:49:12 -0700 |
| commit | 5766946ea5117e4edeb78c80cac367fb06854cc1 (patch) | |
| tree | 2872d4031495f4056009058d76b2f1b95a4d8000 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 070e8bd31b288c3aa3f965778417708c8bfedb06 (diff) | |
genetlink: add explicit ordering break check for split ops
Currently, if cmd in the split ops array is of lower value than the
previous one, genl_validate_ops() continues to do the checks as if
the values are equal. This may result in non-obvious WARN_ON() hit in
these check.
Instead, check the incorrect ordering explicitly and put a WARN_ON()
in case it is broken.
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions