summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2020-01-24 14:27:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 10:36:57 +0300
commitb911c5e8686a345d3b586d4e4915364b03e07575 (patch)
tree570b228055ad9f9b7f765f47165738801b48b363 /fs
parent251c53a92b54a7f10f98334200e606b8a6c68c83 (diff)
downloadlinux-b911c5e8686a345d3b586d4e4915364b03e07575.tar.xz
selftests: bpf: Reset global state between reuseport test runs
[ Upstream commit 51bad0f05616c43d6d34b0a19bcc9bdab8e8fb39 ] Currently, there is a lot of false positives if a single reuseport test fails. This is because expected_results and the result map are not cleared. Zero both after individual test runs, which fixes the mentioned false positives. Fixes: 91134d849a0e ("bpf: Test BPF_PROG_TYPE_SK_REUSEPORT") Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200124112754.19664-5-lmb@cloudflare.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions