On 1/28/21 5:49 AM, Petr Machata wrote: > Extract from rtm_dump_nexthop() a helper to walk the next hop tree. A > separate function for this will be reusable from the bucket dumper. > > Signed-off-by: Petr Machata <pe...@nvidia.com> > Reviewed-by: Ido Schimmel <ido...@nvidia.com> > --- > net/ipv4/nexthop.c | 52 +++++++++++++++++++++++++++++----------------- > 1 file changed, 33 insertions(+), 19 deletions(-) >
Reviewed-by: David Ahern <dsah...@kernel.org>