aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-11-04 12:13:35 -0700
committerDavid S. Miller <davem@davemloft.net>2022-11-07 12:30:16 +0000
commite1a248911d0694c8f95510fcaa920c0b8e99c26c (patch)
tree65bdae266c04476f62a2c29176ce220f83303fbb /tools/perf/scripts/python
parentgenetlink: load policy based on validation flags (diff)
downloadlinux-e1a248911d0694c8f95510fcaa920c0b8e99c26c.tar.gz
linux-e1a248911d0694c8f95510fcaa920c0b8e99c26c.zip
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 <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions