[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180705.142400.1075427810487350044.davem@davemloft.net>
Date: Thu, 05 Jul 2018 14:24:00 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: treeze.taeung@...il.com
Cc: ast@...nel.org, daniel@...earbox.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 1/4] samples/bpf: add missing <linux/if_vlan.h>
From: Taeung Song <treeze.taeung@...il.com>
Date: Wed, 4 Jul 2018 22:36:36 +0900
> This fixes build error regarding redefinition:
>
> CLANG-bpf samples/bpf/parse_varlen.o
> samples/bpf/parse_varlen.c:111:8: error: redefinition of 'vlan_hdr'
> struct vlan_hdr {
> ^
> ./include/linux/if_vlan.h:38:8: note: previous definition is here
>
> So remove duplicate 'struct vlan_hdr' in sample code and include if_vlan.h
>
> Signed-off-by: Taeung Song <treeze.taeung@...il.com>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists