diff options
author | Lorenz Bauer <[email protected]> | 2020-01-24 11:27:54 +0000 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-01-24 22:12:13 +0100 |
commit | 51bad0f05616c43d6d34b0a19bcc9bdab8e8fb39 (patch) | |
tree | 842e3282420e8bdcb46247af55e02259c9fc7f02 /scripts/bpf_helpers_doc.py | |
parent | 603fba9dfd0b2e2a844ece9ed98ce874c38aa98e (diff) |
selftests: bpf: Reset global state between reuseport test runs
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions