Home
last modified time | relevance | path

Searched hist:"44551 bff290d11038816ae5da963d2de12e16c31" (Results 1 – 1 of 1) sorted by relevance

/linux/net/ipv4/
H A Dnexthop.cdiff 44551bff290d11038816ae5da963d2de12e16c31 Wed Jan 20 16:44:11 CET 2021 Petr Machata <petrm@nvidia.com> nexthop: Use a dedicated policy for nh_valid_dump_req()

This function uses the global nexthop policy, but only accepts four
particular attributes. Create a new policy that only includes the four
supported attributes, and use it. Convert the loop to a series of ifs.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>