Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1586979

Re: [PATCH v2] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors
Date 2017-02-23 17:00 +0100
Message-ID <te3Yd-3fj-1@gated-at.bofh.it> (permalink)
References <tdQeB-27X-7@gated-at.bofh.it> <tdZUB-Ex-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: "Dmitry V. Levin" <ldv@altlinux.org>
Date: Thu, 23 Feb 2017 14:30:34 +0300

> Include <linux/in6.h> in uapi/linux/seg6.h to fix the following
> linux/seg6.h userspace compilation error:
> 
> /usr/include/linux/seg6.h:31:18: error: array type has incomplete element type 'struct in6_addr'
>   struct in6_addr segments[0];
> 
> Include <linux/seg6.h> in uapi/linux/seg6_iptunnel.h to fix
> the following linux/seg6_iptunnel.h userspace compilation error:
> 
> /usr/include/linux/seg6_iptunnel.h:26:21: error: array type has incomplete element type 'struct ipv6_sr_hdr'
>   struct ipv6_sr_hdr srh[0];
> 
> Fixes: a50a05f497a2 ("ipv6: sr: add missing Kbuild export for header files")
> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
> ---
> v2: fixed "Fixes:" line

Applied.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-23 02:20 +0100
  [PATCH v2] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h userspace compilation errors "Dmitry V. Levin" <ldv@altlinux.org> - 2017-02-23 12:40 +0100
    Re: [PATCH v2] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h  userspace compilation errors David Miller <davem@davemloft.net> - 2017-02-23 17:00 +0100
  Re: [PATCH] uapi: fix linux/seg6.h and linux/seg6_iptunnel.h  userspace compilation errors Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> - 2017-02-23 13:00 +0100

csiph-web