Re: [PATCH net-next 3/3] nexthop: Specialize rtm_nh_policy

2021-01-18 Thread David Ahern
On 1/18/21 7:05 AM, Petr Machata wrote: > 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. > > Signed-off-by: Petr Machata > Reviewed-by:

[PATCH net-next 3/3] nexthop: Specialize rtm_nh_policy

2021-01-18 Thread Petr Machata
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. Signed-off-by: Petr Machata Reviewed-by: Ido Schimmel --- net/ipv4/nexthop.c | 11 ++--