Skip to content
Commit a2624e09 authored by Xiao Liang's avatar Xiao Liang Committed by Greg Kroah-Hartman
Browse files

net: ipv4: Fix rtnexthop len when RTA_FLOW is present

[ Upstream commit 597aa16c ]

Multipath RTA_FLOW is embedded in nexthop. Dump it in fib_add_nexthop()
to get the length of rtnexthop correct.

Fixes: b0f60193

 ("ipv4: Refactor nexthop attributes in fib_dump_info")
Signed-off-by: default avatarXiao Liang <shaw.leon@gmail.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c37d3287
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment