diff options
author | Vignesh Viswanathan <[email protected]> | 2023-07-14 11:28:45 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-07-17 09:02:30 +0100 |
commit | f26b32ef2fe6f7ae0ba56854e666339e105610ad (patch) | |
tree | 7982805dcaba325d676b366e7f14153435e1804d /drivers/fpga/fpga-mgr.c | |
parent | 608a147a88728f84bbd2efdde3d4984339f1d872 (diff) |
net: qrtr: ns: Change nodes radix tree to xarray
There is a use after free scenario while iterating through the nodes
radix tree despite the ns being a single threaded process. This can
happen when the radix tree APIs are not synchronized with the
rcu_read_lock() APIs.
Convert the radix tree for nodes to xarray to take advantage of the
built in rcu lock usage provided by xarray.
Signed-off-by: Chris Lew <[email protected]>
Signed-off-by: Vignesh Viswanathan <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions