]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Use correct tree index for binding
authorJiri Pirko <jiri@mellanox.com>
Thu, 20 Oct 2016 14:05:42 +0000 (16:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2016 15:11:10 +0000 (11:11 -0400)
commit7c3286a36ad2a082cb9d59c49139effd7c7ecd10
tree06e6e8a2626aa5ec9d852dd8e6e8d82ebf4963bb
parent6a92d00da838d860d552c537a3d60dc16c4be098
mlxsw: spectrum_router: Use correct tree index for binding

By a mistake, there is tree index 0 passed to RALTB. Should be
MLXSW_SP_LPM_TREE_MIN.

Fixes: 437869c72d0d ("mlxsw: spectrum_router: Use FIB notifications instead of switchdev calls")
Reported-by: Yotam Gigi <yotamg@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c