mlxsw: spectrum_router: Allow appending to dev-only routes
authorIdo Schimmel <idosch@mellanox.com>
Fri, 15 Jun 2018 13:23:36 +0000 (16:23 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jun 2018 16:11:16 +0000 (09:11 -0700)
commit53b562df8c203e189fc69f7af0d8668e8dec5a8a
tree98dc6a358149e98f86f86baba800a9eee96ae8e1
parent6eba08c3626bca42b3cb0c9d43ac37ab11b4be1a
mlxsw: spectrum_router: Allow appending to dev-only routes

Commit f34436a43092 ("net/ipv6: Simplify route replace and appending
into multipath route") changed the IPv6 route append logic so that
dev-only routes can be appended and not only gatewayed routes.

Align mlxsw with the new behaviour.

Fixes: f34436a43092 ("net/ipv6: Simplify route replace and appending into multipath route")
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