summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_input.c
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2021-01-20 16:44:12 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-20 21:00:24 -0800
commit643d0878e674434e427888339e6d57c1cc25ee66 (patch)
tree35d28e9237dc2d50675e5ce5dce1b1c72365f0c8 /net/ipv4/ip_input.c
parent44551bff290d11038816ae5da963d2de12e16c31 (diff)
nexthop: Specialize rtm_nh_policy
This policy is currently only used for creation of new next hops and new next hop groups. Rename it accordingly and remove the two attributes that are not valid in that context: NHA_GROUPS and NHA_MASTER. For consistency with other policies, do not mention policy array size in the declarator, and replace NHA_MAX for ARRAY_SIZE as appropriate. Note that with this commit, NHA_MAX and __NHA_MAX are not used anymore. Leave them in purely as a user API. 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 'net/ipv4/ip_input.c')
0 files changed, 0 insertions, 0 deletions