[PATCH] maple_tree: Fix the error of mas->min/max in mas_skip_node()

Andrew Morton akpm at linux-foundation.org
Wed Mar 8 17:55:52 PST 2023


On Wed,  8 Mar 2023 00:03:40 +0800 Peng Zhang <zhangpeng.00 at bytedance.com> wrote:

> The assignment of mas->min and mas->max is wrong. mas->min and mas->max
> should represent the range of the current node. After mas_ascend()
> returns, mas-min and mas->max already represent the range of the current
> node, so we should delete these assignments of mas->min and mas->max.
> 

Please fully describe the user-visible effects of the flaw, especially
when proposing a -stable backport.




More information about the maple-tree mailing list