summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2021-01-20 18:44:10 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-21 08:00:24 +0300
commit60f5ad5e19c0996df7ca4ce7ef5fd4596cb13f01 (patch)
tree565744f0c246523cda001f9699d5fdf376e2926d /tools/perf/scripts/python
parent646188c9550f74454dfc172a347dad693e5bfc84 (diff)
downloadlinux-60f5ad5e19c0996df7ca4ce7ef5fd4596cb13f01.tar.xz
nexthop: Use a dedicated policy for nh_valid_get_del_req()
This function uses the global nexthop policy only to then bounce all arguments except for NHA_ID. Instead, just create a new policy that only includes the one allowed attribute. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions