On Wed, Jul 5, 2017 at 1:41 PM, David Ahern <dsah...@gmail.com> wrote: > Lennert reported a failure to add different mpls encaps in a multipath > route: > > $ ip -6 route add 1234::/16 \ > nexthop encap mpls 10 via fe80::1 dev ens3 \ > nexthop encap mpls 20 via fe80::1 dev ens3 > RTNETLINK answers: File exists > > The problem is that the duplicate nexthop detection does not compare > lwtunnel configuration. Add it. > > Fixes: 19e42e451506("ipv6: support for fib route lwtunnel encap attributes") > Signed-off-by: David Ahern <dsah...@gmail.com> > ---
Reported-by: João Taveira Araújo <joao.tave...@gmail.com> Reported-by: Lennert Buytenhek <buyt...@wantstofly.org> Acked-by: Roopa Prabhu <ro...@cumulusnetworks.com>