]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcb79dd3d5ee2c7395b6dc00344744abbebfc6499
tree77b37435ded8db11a3be72f83157d37b03bacef0
parent0ee9921542eea1a2f6e14eadd91b585a9c416acd
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