Subject: Re: [PATCH v2] selftest: net: fix variable sized type issue not at the end of a struct

From: Jakub Kicinski <[email-masked]>
Date: Mon, 27 Oct 2025 08:19:37 -0700

On Mon, 27 Oct 2025 11:01:56 +0530 Ankit Khushwaha wrote:
> -		struct cmsghdr cm;
>  		char control[512];
> +		struct cmsghdr cm;

This is no longer in the order in which it will appear in the msg.
If the struct placement is not important just use a raw char buffer
for the whole thing.

Before you repost please read at least the TLDR section of:
https://www.kernel.org/doc/html/next/process/maintainer-netdev.html
-- 
pw-bot: cr