diff options
author | Petr Machata <petrm@nvidia.com> | 2021-01-20 16:44:10 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-20 21:00:24 -0800 |
commit | 60f5ad5e19c0996df7ca4ce7ef5fd4596cb13f01 (patch) | |
tree | 565744f0c246523cda001f9699d5fdf376e2926d /usr | |
parent | 646188c9550f74454dfc172a347dad693e5bfc84 (diff) |
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 'usr')
0 files changed, 0 insertions, 0 deletions