summaryrefslogtreecommitdiffstats
path: root/samples/bpf/libbpf.h
diff options
context:
space:
mode:
authorWilliam Tu <u9012063@gmail.com>2018-02-05 13:35:36 -0800
committerDavid S. Miller <davem@davemloft.net>2018-02-06 11:32:49 -0500
commit9c33ca4317c81d9a5d030bbc60aeb2d16edf172b (patch)
tree9f6a56f4d4d7226b735237e1e99510d2ac194b75 /samples/bpf/libbpf.h
parent39f57f6799cdd437277122d4cd1c470c08f527c0 (diff)
downloadlinux-9c33ca4317c81d9a5d030bbc60aeb2d16edf172b.tar.gz
linux-9c33ca4317c81d9a5d030bbc60aeb2d16edf172b.tar.bz2
linux-9c33ca4317c81d9a5d030bbc60aeb2d16edf172b.zip
sample/bpf: fix erspan metadata
The commit c69de58ba84f ("net: erspan: use bitfield instead of mask and offset") changes the erspan header to use bitfield, and commit d350a823020e ("net: erspan: create erspan metadata uapi header") creates a uapi header file. The above two commit breaks the current erspan test. This patch fixes it by adapting the above two changes. Fixes: ac80c2a165af ("samples/bpf: add erspan v2 sample code") Fixes: ef88f89c830f ("samples/bpf: extend test_tunnel_bpf.sh with ERSPAN") Signed-off-by: William Tu <u9012063@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/bpf/libbpf.h')
0 files changed, 0 insertions, 0 deletions