diff options
author | Jakub Kicinski <[email protected]> | 2022-11-04 12:13:35 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-07 12:30:16 +0000 |
commit | e1a248911d0694c8f95510fcaa920c0b8e99c26c (patch) | |
tree | 65bdae266c04476f62a2c29176ce220f83303fbb /tools/perf/scripts/python/stackcollapse.py | |
parent | 7747eb75f6185a92db2e4a2643fdf6e4b6d87153 (diff) |
genetlink: check for callback type at op load time
Now that genl_get_cmd_split() is informed what type of callback
user is trying to access (do or dump) we can check that this
callback is indeed available and return an error early.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions