]> 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)
commitc8842cdcda5486c9706f58e83a811c880985958a
treecd8edb50f6c1749d3dcd8b7d36b6e2f318501802
parentb7f4865bd981703b91c8c1305f3b9f095c9aa006
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