aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-02-20 09:07:46 +0200
committerDavid S. Miller <[email protected]>2020-02-20 10:04:33 -0800
commit48fe78cebdf6592ef1750647253101f3526c5b7b (patch)
tree5972d732cac364ea2dfac1fa249bb03a06014d85 /include/linux/timerqueue.h
parent807ea87032c491260bbf5fe6f5c62ec9187d2e8f (diff)
mlxsw: spectrum_kvdl: Protect allocations with a lock
The KVDL is used to store objects allocated throughout various places in the driver. For example, both nexthops (adjacency entries) and ACL actions are stored in the KVDL. Currently, all allocations are protected by RTNL, but this is going to change with the removal of RTNL from the routing code. Therefore, protect KVDL allocations with a lock. A mutex is used since the free operation can block in Spectrum-2. Signed-off-by: Ido Schimmel <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions