commit | f4ce0a0116bc90803adac10865f14429313cb2b6 | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Fri Oct 06 10:41:41 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 06 10:04:35 2017 -0700 |
tree | 7cfb55bafa296fcadaf5c6a88582293ceb8c0c30 | |
parent | c6a157525be5b6cab48b4c86e7473712e3656c36 [diff] |
samples/bpf: xdp_monitor first 8 bytes are not accessible by bpf The first 8 bytes of the tracepoint context struct are not accessible by the bpf code. This is a choice that dates back to the original inclusion of this code. See explaination in: commit 98b5c2c65c29 ("perf, bpf: allow bpf programs attach to tracepoints") Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>