]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Protect mas_prev_nentry() from dead nodes
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Thu, 24 Nov 2022 15:50:21 +0000 (10:50 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 20:18:33 +0000 (15:18 -0500)
commita64917310ce11fdeec00e1c9fe7c2f1b80ff6034
treead2ca5eaf6602825551f341790e26077f18fa89f
parent2a2ce469b75086d1c80ccd23d213fb539b3728c4
maple_tree: Protect mas_prev_nentry() from dead nodes

Don't use the pivot array before checking if the node is dead.  This is
for safe use in rcu mode.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c