diff options
| author | Andrey Ignatov <rdna@fb.com> | 2018-07-12 03:33:37 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-15 01:08:41 +0300 |
| commit | 78d8e26d46bc2ed73ab6a0e369a342478fda4ce0 (patch) | |
| tree | ea6113284a1b646adc567632117e76a14b0f920d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 2044e4ef0be29f0154b078a956a3d8331315298a (diff) | |
| download | linux-78d8e26d46bc2ed73ab6a0e369a342478fda4ce0.tar.xz | |
selftests/bpf: Test case for BPF_SOCK_OPS_TCP_LISTEN_CB
Cover new TCP-BPF callback in test_tcpbpf: when listen() is called on
socket, set BPF_SOCK_OPS_STATE_CB_FLAG so that BPF_SOCK_OPS_STATE_CB
callback can be called on future state transition, and when such a
transition happens (TCP_LISTEN -> TCP_CLOSE), track it in the map and
verify it in user space later.
Signed-off-by: Andrey Ignatov <rdna@fb.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
