diff options
author | Martin KaFai Lau <kafai@fb.com> | 2020-02-11 20:59:10 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-02-12 19:44:37 +0300 |
commit | 2fe77100553f3ac6b2105db8ae14b5ea4b43c108 (patch) | |
tree | 7ea21429a96895c05e3f8ecdd8c018a2641feacf /tools/perf/scripts/python/stackcollapse.py | |
parent | 30744a68626db6a0029aca9c646831c869c16d83 (diff) | |
download | linux-2fe77100553f3ac6b2105db8ae14b5ea4b43c108.tar.xz |
selftests/bpf: Fix error checking on reading the tcp_fastopen sysctl
There is a typo in checking the "saved_tcp_fo" and instead
"saved_tcp_syncookie" is checked again. This patch fixes it
and also breaks them into separate if statements such that
the test will abort asap.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200211175910.3235321-1-kafai@fb.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions