]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0ef72108191bb601c0329d115af2d1aee1a9d672
treeb05f7eeaf35791597945df114f4d8956dfc6ecc3
parenta86e5f5cfb339ee0efcdf4400e321fc5a0af3e93
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: 20dfe78f1ac6 ("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