On Tue, Aug 01, 2023 at 05:36:42PM +0200, Petr Tesarik wrote: > From: Petr Tesarik <petr.tesarik.ext@xxxxxxxxxx> > > The channel list is in fact a flexible array, but it has a length of 1 to > make sure there is enough room for the special chanspec -1 when the struct > is allocated on stack to abort a scan. There is patch series proposing a way to put flex array structures with a compile-time-known size on the stack. Would that help for this series? https://lore.kernel.org/netdev/20230801111923.118268-1-przemyslaw.kitszel@xxxxxxxxx/ -Kees > -- Kees Cook