mlxsw: spectrum_acl: Introduce a mutex to guard objagg instance manipulation
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Feb 2019 06:46:28 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:25:29 +0000 (20:25 -0800)
commitddaa2875da02070029cee2ae19371a4b21ddd137
tree798edb9d5758ddf1032888a854c4cb87a814e248
parent6b861682474ca0dd78bcaebbd3f471c8244689de
mlxsw: spectrum_acl: Introduce a mutex to guard objagg instance manipulation

Protect objagg structures by adding a mutex to ERP code and take it
during the structure manipulation.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c