[dm-devel] dm/raid1: Remove VLA usage

Mike Snitzer snitzer at redhat.com
Fri Apr 27 14:38:59 UTC 2018


On Thu, Apr 26 2018 at  7:31pm -0400,
Kees Cook <keescook at chromium.org> wrote:

> On Tue, Apr 10, 2018 at 9:43 PM, Kees Cook <keescook at chromium.org> wrote:
> > On the quest to remove all VLAs from the kernel[1], this avoids VLAs
> > in dm-raid1.c by just using the maximum size for the stack arrays.
> > The nr_mirrors value was already capped at 9, so this makes it a trivial
> > adjustment to the array sizes.
> >
> > [1] https://lkml.org/lkml/2018/3/7/621
> >
> > Signed-off-by: Kees Cook <keescook at chromium.org>
> 
> Friendly ping... can someone take this, or should this go via another tree?

It needs further review but it is on my radar.

But please consider it claimed and proceeding upstream for 4.18 via
linux-dm.git

Thanks,
Mike




More information about the dm-devel mailing list