mlxsw: spectrum_router: Remove unlikely user-triggerable warning
authorIdo Schimmel <idosch@mellanox.com>
Mon, 9 Dec 2019 06:55:20 +0000 (08:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Dec 2019 18:18:28 +0000 (10:18 -0800)
commit62201c00c4679ad8f0730d6d925a5d23651dfad2
treeb05f7eeaf35791597945df114f4d8956dfc6ecc3
parentb6f3320b1d5267e7b583a6d0c88dda518101740c
mlxsw: spectrum_router: Remove unlikely user-triggerable warning

In case the driver vetoes the addition of an IPv6 multipath route, the
IPv6 stack will emit delete notifications for the sibling routes that
were already added to the FIB trie. Since these siblings are not present
in hardware, a warning will be generated.

Have the driver ignore notifications for routes it does not have.

Fixes: ebee3cad835f ("ipv6: Add IPv6 multipath notifications for add / replace")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c