Re: [PATCH v6] bpf: Replace bpf_lpm_trie_key 0-length array with flexible array

From: Kees Cook
Date: Thu Feb 22 2024 - 13:54:45 EST


On Thu, Feb 22, 2024 at 07:56:15AM -0800, Kees Cook wrote:
> Replace deprecated 0-length array in struct bpf_lpm_trie_key with
> flexible array. Found with GCC 13:

Yay! This finally passes all of CI:
https://patchwork.kernel.org/project/netdevbpf/patch/20240222155612.it.533-kees@xxxxxxxxxx/

--
Kees Cook