]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb64de6efc923d078a04a58c34b67a8625004ab4
tree98dc6a358149e98f86f86baba800a9eee96ae8e1
parentd0c7c5c7b3fc6931c7605430a8bb86c4df1f1056
mlxsw: spectrum_router: Allow appending to dev-only routes

Commit 9c346b02c450 ("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: 9c346b02c450 ("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