mlxsw: spectrum: Return NOTIFY_BAD on bridge failure
authorIdo Schimmel <idosch@mellanox.com>
Mon, 4 Jan 2016 09:42:24 +0000 (10:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 03:07:58 +0000 (22:07 -0500)
commit78124078c404f3ab790d98d651f059f62d361659
treee88a7f9b641d14af548aebdacf6dd9861576d752
parent7b31abe70b29edb3005a6466f51b7a10f8413a01
mlxsw: spectrum: Return NOTIFY_BAD on bridge failure

It is possible for us to fail when joining or leaving a bridge, so let
the user know about that by returning NOTIFY_BAD, as already done for
LAG join/leave and 802.1D bridges.

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.c