]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4929ce186f4d9d01e8a661b97117c5b0af4d3f8e
tree798edb9d5758ddf1032888a854c4cb87a814e248
parente4b86b5a3e8c425a141fa6ac63a3a452a374f336
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