On Wed, Jul 5, 2017 at 1:41 PM, David Ahern <[email protected]> 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 <[email protected]> > ---
Reported-by: João Taveira Araújo <[email protected]> Reported-by: Lennert Buytenhek <[email protected]> Acked-by: Roopa Prabhu <[email protected]>
