Ido Schimmel 262a68aa46 nexthop: Only parse NHA_OP_FLAGS for dump messages that require it
The attribute is parsed in __nh_valid_dump_req() which is called by the
dump handlers of RTM_GETNEXTHOP and RTM_GETNEXTHOPBUCKET although it is
only used by the former and rejected by the policy of the latter.

Move the parsing to nh_valid_dump_req() which is only called by the dump
handler of RTM_GETNEXTHOP.

This is a preparation for a subsequent patch.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20240311162307.545385-3-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-11 20:35:20 -07:00
..
2024-03-11 18:06:04 -07:00
2024-02-20 15:32:45 +01:00
2024-02-21 17:11:04 -08:00
2024-01-11 10:07:29 -08:00
2024-03-08 09:05:49 -08:00
2024-03-07 20:42:13 -08:00
2024-03-05 11:21:18 -08:00
2024-03-07 21:12:43 -08:00
2024-03-08 09:05:49 -08:00
2024-03-02 20:50:59 -08:00
2024-03-08 10:56:05 +00:00
2023-12-12 14:24:14 +01:00
2024-01-31 16:41:16 -08:00