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