diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-05-02 22:41:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-02 23:33:02 +0300 |
commit | 30ca22e4a5d0063dd9a9cdf35cd139c5807cbeb3 (patch) | |
tree | 062c2d521125bed978582d9f4e6d46987f1ce019 /net/sched/sch_fq.c | |
parent | 784813aed6ba24a1f24e7e11d9d0f208cee37a7d (diff) | |
download | linux-30ca22e4a5d0063dd9a9cdf35cd139c5807cbeb3.tar.xz |
ipv6: Revert "ipv6: Allow non-gateway ECMP for IPv6"
This reverts commit edd7ceb78296 ("ipv6: Allow non-gateway ECMP for
IPv6").
Eric reported a division by zero in rt6_multipath_rebalance() which is
caused by above commit that considers identical local routes to be
siblings. The division by zero happens because a nexthop weight is not
set for local routes.
Revert the commit as it does not fix a bug and has side effects.
To reproduce:
# ip -6 address add 2001:db8::1/64 dev dummy0
# ip -6 address add 2001:db8::1/64 dev dummy1
Fixes: edd7ceb78296 ("ipv6: Allow non-gateway ECMP for IPv6")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_fq.c')
0 files changed, 0 insertions, 0 deletions