ipv6: Allow non-gateway ECMP for IPv6
authorThomas Winter <Thomas.Winter@alliedtelesis.co.nz>
Mon, 30 Apr 2018 21:15:29 +0000 (09:15 +1200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 May 2018 18:23:33 +0000 (14:23 -0400)
commitedd7ceb78296fb1574958991b6655c3c2cedf124
tree77b37435ded8db11a3be72f83157d37b03bacef0
parentd656fe49e33df48ee6bc19e871f5862f49895c9e
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>
include/net/ip6_route.h
net/ipv6/ip6_fib.c