diff options
author | David S. Miller <davem@davemloft.net> | 2015-05-20 18:02:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-20 18:02:26 +0200 |
commit | 7764b9dd38f31ce58e6f764e2d7d8399d9b62486 (patch) | |
tree | 2151136cf03e0dadcff04de695f10f91633acf4f /drivers/net/phy/phy.c | |
parent | Merge tag 'mac80211-for-davem-2015-05-19' of git://git.kernel.org/pub/scm/lin... (diff) | |
parent | ipv6: fix ECMP route replacement (diff) | |
download | linux-7764b9dd38f31ce58e6f764e2d7d8399d9b62486.tar.xz linux-7764b9dd38f31ce58e6f764e2d7d8399d9b62486.zip |
Merge branch 'ipv6_ecmp_fixes'
Michal Kubecek says:
====================
IPv6 ECMP route add/replace fixes
(1) When adding a nexthop of a multipath route fails (e.g. because of a
conflict with an existing route), we are supposed to delete nexthops
already added. However, currently we try to also delete all nexthops we
haven't even tried to add yet so that a "ip route add" command can
actually remove pre-existing routes if it fails.
(2) Attempt to replace a multipath route results in a broken siblings
linked list. Following commands (like "ip route del") can then either
follow a link into freed memory or end in an infinite loop (if the slab
object has been reused).
v2: fix an omission in first patch
v3: change the semantics of replace operation to better match IPv4
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions