OSDN Git Service

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)
commitc70b13275b8a826e561f4ac6a6940a044e65a809
treecd8edb50f6c1749d3dcd8b7d36b6e2f318501802
parent7b0f62eefc7f04a6fd3bddc88cf39c7a60f28672
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