]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix mas_alloc_push() overflow
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 26 Oct 2020 22:23:36 +0000 (18:23 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:30:37 +0000 (12:30 -0500)
commita8eaf0fe4569209858b5807a6c16fd1761f23c09
treed38cf98ef16d995d880a8e0d727b9def307fbdb5
parent155e8fdbba1ce365596a85d4ea0ee87edf82fe52
maple_tree: Fix mas_alloc_push() overflow

mas_alloc_push() was overflowing and writing the next node.  Add #define to
clean up the alloc slot calculations

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
include/linux/maple_tree.h
lib/maple_tree.c