net: qrtr: ns: Change nodes 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 nodes to xarray to take advantage of the
built in rcu lock usage provided by xarray.
Change-Id: If2f735abf911b7b47cd7cb07224751114a2bf943
Signed-off-by:
Chris Lew <clew@codeaurora.org>
Loading
Please register or sign in to comment