On 1/28/21 5:49 AM, Petr Machata wrote: > In order to allow different handling for next-hop tree dumper and for > bucket dumper, parameterize the next-hop tree walker with a callback. Add > rtm_dump_nexthop_cb() with just the bits relevant for next-hop tree > dumping. > > Signed-off-by: Petr Machata <pe...@nvidia.com> > Reviewed-by: Ido Schimmel <ido...@nvidia.com> > --- > net/ipv4/nexthop.c | 32 ++++++++++++++++++++++---------- > 1 file changed, 22 insertions(+), 10 deletions(-) >
Reviewed-by: David Ahern <dsah...@kernel.org>