diff options
author | 2023-07-14 11:28:44 +0530 | |
---|---|---|
committer | 2023-07-17 09:02:30 +0100 | |
commit | 608a147a88728f84bbd2efdde3d4984339f1d872 (patch) | |
tree | cc80ab09931b25c4680699b339679650b79b2ac2 /kernel/bpf/helpers.c | |
parent | Merge branch 'brcm-asp-2.0-support' (diff) | |
download | linux-rng-608a147a88728f84bbd2efdde3d4984339f1d872.tar.xz linux-rng-608a147a88728f84bbd2efdde3d4984339f1d872.zip |
net: qrtr: ns: Change servers radix tree to xarray
There is a use after free scenario while iterating through the servers
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 servers to xarray to take advantage of the
built in rcu lock usage provided by xarray.
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
Signed-off-by: Vignesh Viswanathan <quic_viswanat@quicinc.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions