diff options
| author | Taeung Song <[email protected]> | 2018-07-04 22:36:36 +0900 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-05 09:58:52 +0200 |
| commit | 4d5d33a085335ef469c9a87792bcaaaa8e64d8c4 (patch) | |
| tree | 7a9235f7f6836daeae60d9b31b80e240c7f32715 /tools/perf/scripts/python/check-perf-trace.py | |
| 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 <[email protected]>
Acked-by: David S. Miller <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions