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 /drivers | |
parent | cda18e9726d0f1e280f9e4a19d85ab01c157b414 (diff) | |
download | linux-e2e3224122e64ebe15fe02a63e8fe09b64a8c743.tar.bz2 |
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 'drivers')
0 files changed, 0 insertions, 0 deletions