Re: [PATCH] rbtree: fix the red root

From: Qian Cai
Date: Fri Jan 11 2019 - 13:12:43 EST


On Fri, 2019-01-11 at 09:31 -0800, Matthew Wilcox wrote:
> On Fri, Jan 11, 2019 at 11:51:45AM -0500, Qian Cai wrote:
> > Reported-by: Esme <esploit@xxxxxxxxxxxxx>
> > Signed-off-by: Qian Cai <cai@xxxxxx>
>
> What change introduced this bug?ÂÂWe need a Fixes: line so the stable
> people know how far to backport this fix.

It looks like,

Fixes: 6d58452dc06 (rbtree: adjust root color in rb_insert_color() only when
necessary)

where it no longer always paint the root as black.

Also, copying this fix for the original author and reviewer.

https://lore.kernel.org/lkml/20190111165145.23628-1-cai@xxxxxx/