aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2024-10-04 12:13:32 +0200
committerMartin KaFai Lau <[email protected]>2024-10-07 17:12:37 -0700
commit0ebe224ffce83b3c2b331295d473296220d9fc36 (patch)
tree335a8c8d09675a89c053867339703411e18d6a10 /tools/perf/scripts/python/check-perf-trace.py
parent83134ef4609388f6b9ca31a384f531155196c2a7 (diff)
netkit: Simplify netkit mode over to use NLA_POLICY_MAX
Jakub suggested to rely on netlink policy validation via NLA_POLICY_MAX() instead of open-coding it. netkit_check_mode() is a candidate which can be simplified through this as well aside from the netkit scrubbing one. Suggested-by: Jakub Kicinski <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Cc: Nikolay Aleksandrov <[email protected]> Acked-by: Nikolay Aleksandrov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions