> -----Original Message----- > From: David Miller [mailto:da...@davemloft.net] > Sent: Saturday, December 31, 2016 4:21 AM > To: cug...@163.com > Cc: netdev@vger.kernel.org; YUAN Linyu > Subject: Re: [PATCH v2] scm: fix possible control message header alignment > issue > If you can come up with a case where this does happen in > practice, I will continue to consider this patch. > Yes, before send patch I also check two archs(arm-v7 and powerpc e6500), they are aligned. No one report issue, I think cmsghdr aligned on all archs.
> Otherwise, we should make the assumptions that exist explicit > and get rid of all of the code that does that funny alignment > upon the cmsghdr structure. > Do you accept that I remove all CMSG{_COMPAT}_ALIGN of header ? > Thanks.