On 9/23/21 9:03 AM, Xiao Liang wrote:
Multipath RTA_FLOW is embedded in nexthop. Dump it in fib_add_nexthop()
to get the length of rtnexthop correct.
Fixes: b0f60193632e ("ipv4: Refactor nexthop attributes in fib_dump_info")
Signed-off-by: Xiao Liang <redacted>
---
include/net/ip_fib.h | 2 +-
include/net/nexthop.h | 2 +-
net/ipv4/fib_semantics.c | 16 +++++++++-------
net/ipv6/route.c | 5 +++--
4 files changed, 14 insertions(+), 11 deletions(-)
Reviewed-by: David Ahern <dsahern@kernel.org>