]> 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)
commit9ee3492c397aef756813429d73eeb32c9329cb3b
tree066c373b3ad57d2bb54ef42676f4044be7f41861
parent4bb2926c1c9962192095b593d049dc87a7b034e0
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: ec77ece37e59 ("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