Thanks
> -Original Message-
> From: David Miller [mailto:da...@davemloft.net]
> Sent: Thursday, January 05, 2017 2:25 AM
> To: cug...@163.com
> Cc: netdev@vger.kernel.org; YUAN Linyu
> Subject: Re: [PATCH] scm: remove use CMSG{_COMPAT}_ALIGN(sizeof(struct
> {compat
From: yuan linyu
Date: Tue, 3 Jan 2017 20:42:17 +0800
> From: yuan linyu
>
> sizeof(struct cmsghdr) and sizeof(struct compat_cmsghdr) already aligned.
> remove use CMSG_ALIGN(sizeof(struct cmsghdr)) and
> CMSG_COMPAT_ALIGN(sizeof(struct compat_cmsghdr)) keep code consistent.
>
> Signed-off-by
From: yuan linyu
sizeof(struct cmsghdr) and sizeof(struct compat_cmsghdr) already aligned.
remove use CMSG_ALIGN(sizeof(struct cmsghdr)) and
CMSG_COMPAT_ALIGN(sizeof(struct compat_cmsghdr)) keep code consistent.
Signed-off-by: yuan linyu
---
include/linux/socket.h | 6 +++---
net/compat.c