mlxsw: spectrum_router: Adjust placement of FIB abort warning
authorIdo Schimmel <idosch@mellanox.com>
Wed, 16 Nov 2016 08:51:58 +0000 (09:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 20:18:01 +0000 (15:18 -0500)
commitd331d30360d7d10c4150a5a6452bc8d9aeb5784f
tree9c6a1cfa03cd37ca9d261ee53d81872af59c6aab
parent0b6e3d0322b39a5f3a974a0d3cb8677aeb8106a5
mlxsw: spectrum_router: Adjust placement of FIB abort warning

The recent merge commit bb598c1b8c9b ("Merge
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net") would cause
the FIB abort warning to fire whenever we flush the FIB tables - either
during module removal or actual abort.

Move it back to its rightful location in the FIB abort function.

Signed-off-by: Ido Schimmel <idosch@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