diff options
author | Thomas Winter <Thomas.Winter@alliedtelesis.co.nz> | 2018-04-30 23:15:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-01 20:23:33 +0200 |
commit | edd7ceb78296fb1574958991b6655c3c2cedf124 (patch) | |
tree | 77b37435ded8db11a3be72f83157d37b03bacef0 /net | |
parent | ethtool: fix a potential missing-check bug (diff) | |
download | linux-edd7ceb78296fb1574958991b6655c3c2cedf124.tar.xz linux-edd7ceb78296fb1574958991b6655c3c2cedf124.zip |
ipv6: Allow non-gateway ECMP for IPv6
It is valid to have static routes where the nexthop
is an interface not an address such as tunnels.
For IPv4 it was possible to use ECMP on these routes
but not for IPv6.
Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
Cc: David Ahern <dsahern@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | net/ipv6/ip6_fib.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/ip6_fib.c b/net/ipv6/ip6_fib.c index deab2db6692e..3c97c29d4401 100644 --- a/net/ipv6/ip6_fib.c +++ b/net/ipv6/ip6_fib.c @@ -934,9 +934,6 @@ static int fib6_add_rt2node(struct fib6_node *fn, struct rt6_info *rt, * list. * Only static routes (which don't have flag * RTF_EXPIRES) are used for ECMPv6. - * - * To avoid long list, we only had siblings if the - * route have a gateway. */ if (rt_can_ecmp && rt6_qualify_for_ecmp(iter)) |