diff options
| author | 2019-04-22 08:55:49 -0700 | |
|---|---|---|
| committer | 2019-04-23 18:36:34 +0200 | |
| commit | c9cb2c1e11cee75b3af5699add3302a3997f78e4 (patch) | |
| tree | 5223f0713124af66fc29f16bedae1c16c38a717f /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | net: pass net_device argument to the eth_get_headlen (diff) | |
| download | wireguard-linux-c9cb2c1e11cee75b3af5699add3302a3997f78e4.tar.xz wireguard-linux-c9cb2c1e11cee75b3af5699add3302a3997f78e4.zip | |
selftests/bpf: add flow dissector bpf_skb_load_bytes helper test
When flow dissector is called without skb, we want to make sure
bpf_skb_load_bytes invocations return error. Add small test which tries
to read single byte from a packet.
bpf_skb_load_bytes should always fail under BPF_PROG_TEST_RUN because
it was converted to the skb-less mode.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
