]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Add missing rollback in flood configuration
authorIdo Schimmel <idosch@mellanox.com>
Fri, 6 May 2016 20:18:40 +0000 (22:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 May 2016 22:27:43 +0000 (18:27 -0400)
commit022c34bc0c940806af739f47e0a64cb26eaed769
tree066c373b3ad57d2bb54ef42676f4044be7f41861
parent43bed852ddd8cc91f5293156f07b201578cfed9d
mlxsw: spectrum: Add missing rollback in flood configuration

When we fail to set the flooding configuration for the broadcast and
unregistered multicast traffic, we should revert the flooding
configuration of the unknown unicast traffic.

Fixes: b22d05e9e056 ("mlxsw: spectrum: Add support for flood control")
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_switchdev.c