aboutsummaryrefslogtreecommitdiff
path: root/lib/fdt_wip.c
diff options
context:
space:
mode:
authorLiam R. Howlett2023-04-11 11:10:51 -0400
committerGreg Kroah-Hartman2023-04-13 16:55:39 +0200
commitcc2f2507f3f05612c61c4b8f11bb91efbb9ad495 (patch)
tree089f0566e6991b29f3a632ea66b9ce3ac429734a /lib/fdt_wip.c
parent5f7c59126498f25959f81bd533af441f14ad7888 (diff)
maple_tree: fix freeing of nodes in rcu mode
commit 2e5b4921f8efc9e845f4f04741797d16f36847eb upstream. The walk to destroy the nodes was not always setting the node type and would result in a destroy method potentially using the values as nodes. Avoid this by setting the correct node types. This is necessary for the RCU mode of the maple tree. Link: https://lkml.kernel.org/r/20230227173632.3292573-4-surenb@google.com Cc: <Stable@vger.kernel.org> Fixes: 54a611b60590 ("Maple Tree: add new data structure") Signed-off-by: Liam Howlett <Liam.Howlett@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/fdt_wip.c')
0 files changed, 0 insertions, 0 deletions