Re: [PATCH net-next 10/12] nexthop: Extract a helper for walking the next-hop tree
From: David Ahern <hidden> Date: 2021-01-29 03:20:24
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 <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
---
net/ipv4/nexthop.c | 52 +++++++++++++++++++++++++++++-----------------
1 file changed, 33 insertions(+), 19 deletions(-)