diff options
| author | Taeung Song <[email protected]> | 2018-07-04 13:36:36 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-07-05 07:58:52 +0000 |
| commit | 4d5d33a085335ef469c9a87792bcaaaa8e64d8c4 (patch) | |
| tree | 7a9235f7f6836daeae60d9b31b80e240c7f32715 /net/nsh/nsh.c | |
| parent | bpf: hash map: decrement counter on error (diff) | |
| download | kernel-4d5d33a085335ef469c9a87792bcaaaa8e64d8c4.tar.gz kernel-4d5d33a085335ef469c9a87792bcaaaa8e64d8c4.zip | |
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 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions
