summaryrefslogtreecommitdiff
path: root/samples/bpf/trace_event_user.c
diff options
context:
space:
mode:
authorTaeung Song <treeze.taeung@gmail.com>2018-07-04 22:36:36 +0900
committerDaniel Borkmann <daniel@iogearbox.net>2018-07-05 09:58:52 +0200
commit4d5d33a085335ef469c9a87792bcaaaa8e64d8c4 (patch)
tree7a9235f7f6836daeae60d9b31b80e240c7f32715 /samples/bpf/trace_event_user.c
parented2b82c03dc187018307c7c6bf9299705f3db383 (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 'samples/bpf/trace_event_user.c')
0 files changed, 0 insertions, 0 deletions