On 1/28/21 5:49 AM, Petr Machata wrote:
After there are several next-hop group types, initialization and
finalization of notifier type needs to reflect the actual type. Transform
nh_notifier_grp_info_init() and _fini() to make extending them easier.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
---
net/ipv4/nexthop.c | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
Reviewed-by: David Ahern <dsahern@kernel.org>