]> 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)
commit5c660a26dd2e4d3e8f9662deed10fddba8a9d4e8
tree77b37435ded8db11a3be72f83157d37b03bacef0
parente4f1a883ed64d7034e22ca859d6894b69650180f
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