Re: [PATCH v2 2/2] uapi: fix linux/rds.h userspace compilation error
From: David Miller
Date: Sun Feb 19 2017 - 18:16:47 EST
From: "Dmitry V. Levin" <ldv@xxxxxxxxxxxx>
Date: Thu, 16 Feb 2017 18:05:45 +0300
> On the kernel side, sockaddr_storage is #define'd to
> __kernel_sockaddr_storage. Replacing struct sockaddr_storage with
> struct __kernel_sockaddr_storage defined by <linux/socket.h> fixes
> the following linux/rds.h userspace compilation error:
>
> /usr/include/linux/rds.h:226:26: error: field 'dest_addr' has incomplete type
> struct sockaddr_storage dest_addr;
>
> Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx>
Applied.