]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_acl: Remove RTNL lock assertions from ERP code
authorJiri Pirko <jiri@mellanox.com>
Sun, 24 Feb 2019 06:46:30 +0000 (06:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Feb 2019 04:25:29 +0000 (20:25 -0800)
commitf42cb302ba5ad5f250201a7159fb00d9be8225de
treecd8edb50f6c1749d3dcd8b7d36b6e2f318501802
parent39e471317b90b1537d4e138afde17b0a01c23a57
mlxsw: spectrum_acl: Remove RTNL lock assertions from ERP code

No longer require RTNL lock in this code. Newly introduced mutexes take
care of guarding objagg and bloom filter. There is no need to guard
gen_pool_alloc()/gen_pool_free() as they are fine to be called lockless.

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