diff options
author | Petr Machata <petrm@nvidia.com> | 2021-01-28 13:49:18 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-28 20:49:52 -0800 |
commit | da230501f2c95a39eaa0856afd0122d35bda9e5d (patch) | |
tree | 73c8ad75ca9c0e8e7a8fbc220f3c27699088b447 /include | |
parent | 09ad6becf5355fe0645f500f518fbbd531715722 (diff) |
nexthop: Dispatch notifier init()/fini() by group type
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>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions