diff options
author | Taeung Song <treeze.taeung@gmail.com> | 2018-07-04 22:36:36 +0900 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-05 09:58:52 +0200 |
commit | 4d5d33a085335ef469c9a87792bcaaaa8e64d8c4 (patch) | |
tree | 7a9235f7f6836daeae60d9b31b80e240c7f32715 /crypto | |
parent | ed2b82c03dc187018307c7c6bf9299705f3db383 (diff) |
samples/bpf: add missing <linux/if_vlan.h>
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@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions