diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-01-17 11:17:37 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-18 01:49:09 +0100 |
commit | e2e3224122e64ebe15fe02a63e8fe09b64a8c743 (patch) | |
tree | 398e462dd9fa548b6700ba04de9177c6391a27be /samples/bpf/trace_output_kern.c | |
parent | Merge branch 'bpf-dump-and-disasm-nfp-jit' (diff) | |
download | linux-e2e3224122e64ebe15fe02a63e8fe09b64a8c743.tar.xz linux-e2e3224122e64ebe15fe02a63e8fe09b64a8c743.zip |
samples/bpf: xdp2skb_meta comment explain why pkt-data pointers are invalidated
Improve the 'unknown reason' comment, with an actual explaination of why
the ctx pkt-data pointers need to be loaded after the helper function
bpf_xdp_adjust_meta(). Based on the explaination Daniel gave.
Fixes: 36e04a2d78d9 ("samples/bpf: xdp2skb_meta shows transferring info from XDP to SKB")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/trace_output_kern.c')
0 files changed, 0 insertions, 0 deletions