]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: Fix RTA_MULTIPATH with nexthop objects
authorDavid Ahern <dsahern@gmail.com>
Tue, 3 Sep 2019 22:22:12 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 09:59:39 +0000 (11:59 +0200)
commit537d6c708d8617f55d46cdaf48c13b14e894f2ff
treed0ed86080033257afa8464a02a959f6eaa99fda6
parenta2921fa6fc1a33dcd96a210740882def46975751
ipv6: Fix RTA_MULTIPATH with nexthop objects

A change to the core nla helpers was missed during the push of
the nexthop changes. rt6_fill_node_nexthop should be calling
nla_nest_start_noflag not nla_nest_start. Currently, iproute2
does not print multipath data because of parsing issues with
the attribute.

Fixes: b6b1bd779ad2 ("ipv6: Plumb support for nexthop object in a fib6_info")
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c