mlxsw: spectrum_router: Remove unlikely user-triggerable warning
authorIdo Schimmel <idosch@mellanox.com>
Mon, 9 Dec 2019 06:55:20 +0000 (08:55 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Dec 2019 15:41:44 +0000 (16:41 +0100)
commit83094ebc2f31b4e76f9bbd9cfc41d5853f0d98f2
treec0536099bdfda3d24c75aa369cca6976690036a6
parent95b211b24811938f51926457eaeca2583b63ac90
mlxsw: spectrum_router: Remove unlikely user-triggerable warning

[ Upstream commit 62201c00c4679ad8f0730d6d925a5d23651dfad2 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c