Re: [PATCH][next] net: inet_sock.h: Avoid thousands of -Wflex-array-member-not-at-end warnings

From: Kees Cook

Date: Wed Nov 19 2025 - 17:40:05 EST


On Tue, Nov 18, 2025 at 01:36:41PM +0900, Gustavo A. R. Silva wrote:
> struct ip_options_data {
> struct ip_options_rcu opt;
> - char data[40];
> };

If this just contains struct ip_options_rcu now, can ip_options_data
just be removed entirely?

-Kees

--
Kees Cook